MCPcopy Create free account
hub / github.com/apache/tvm / pad

Method pad

tests/python/relax/test_analysis_estimate_memory_usage.py:65–69  ·  view source on GitHub ↗
(
            rxplaceholder: T.Buffer(T.int64(8), "float32"),
            PadInput: T.Buffer(T.int64(10), "float32"),
        )

Source from the content-addressed store, hash-verified

63
64 @T.prim_func(s_tir=True)
65 def pad(
66 rxplaceholder: T.Buffer(T.int64(8), "float32"),
67 PadInput: T.Buffer(T.int64(10), "float32"),
68 ):
69 T.evaluate(0)
70
71 @R.function(pure=False)
72 def main(x: R.Tensor((2, 4), dtype="float32")) -> R.Tensor((10,), dtype="float32"):

Callers 1

mainMethod · 0.45

Calls 1

evaluateMethod · 0.45

Tested by

no test coverage detected