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

Function explicit_sinfo

tests/python/relax/test_op_view.py:30–32  ·  view source on GitHub ↗
(A: R.Tensor)

Source from the content-addressed store, hash-verified

28def test_infer_shape_of_1d_static_view():
29 @R.function(private=True)
30 def explicit_sinfo(A: R.Tensor) -> R.Tensor([4096]):
31 B: R.Tensor([4096]) = R.memory.view(A, R.shape([4096]))
32 return B
33
34 @R.function(private=True)
35 def inferred_sinfo(A: R.Tensor):

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…