MCPcopy Index your code
hub / github.com/apache/tvm / expected

Method expected

tests/python/relax/test_transform_fold_constant.py:78–79  ·  view source on GitHub ↗
(c1: R.Tensor((16, 16), "float32"))

Source from the content-addressed store, hash-verified

76
77 @R.function
78 def expected(c1: R.Tensor((16, 16), "float32")):
79 return c1
80
81 c0_np = np.arange(16 * 16).astype("float32").reshape(16, 16)
82 c1_np = c0_np + 1

Callers

nothing calls this directly

Calls 7

TensorMethod · 0.80
match_castMethod · 0.80
call_tirMethod · 0.80
dataflowMethod · 0.80
outputMethod · 0.80
reshapeMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected