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

Function test_shape_struct_info_2

tests/python/relax/test_tvmscript_printer_relax.py:198–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196
197
198def test_shape_struct_info_2():
199 obj = relax.ShapeStructInfo([1, tirx.Var("a", "int64"), 3])
200 _assert_print(
201 obj,
202 """
203a = T.int64()
204R.Shape([1, a, 3])""",
205 )
206
207
208def test_tensor_struct_info():

Callers

nothing calls this directly

Calls 1

_assert_printFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…