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

Function func

tests/python/relax/test_op_view.py:60–62  ·  view source on GitHub ↗
(A: R.Tensor([16]))

Source from the content-addressed store, hash-verified

58
59 @R.function
60 def func(A: R.Tensor([16])):
61 B = R.memory.view(A, R.prim_value(42))
62 return B
63
64
65def test_infer_shape_of_1d_static_view_smaller_than_1d_source():

Callers

nothing calls this directly

Calls 4

TensorMethod · 0.80
viewMethod · 0.45
shapeMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…