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

Function _shape_tuple_func

python/tvm/exec/disco_worker.py:59–61  ·  view source on GitHub ↗
(x: Shape)

Source from the content-addressed store, hash-verified

57
58@register_global_func("tests.disco.shape_tuple", override=True)
59def _shape_tuple_func(x: Shape):
60 assert isinstance(x, Shape)
61 return Shape(list(x) + [4, 5])
62
63
64@register_global_func("tests.disco.test_callback", override=True)

Callers

nothing calls this directly

Calls 1

ShapeFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…