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

Function test_arange

tests/python/relax/test_tvmscript_parser_op_create.py:130–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129
130def test_arange():
131 @R.function
132 def foo():
133 gv = R.arange(1, 10, 2)
134 return gv
135
136 bb = relax.BlockBuilder()
137 with bb.function("foo", []):
138 gv = bb.emit(relax.op.arange(1, 10, 2))
139 bb.emit_func_output(gv)
140
141 _check(foo, bb.get()["foo"])
142
143
144def test_tril():

Callers

nothing calls this directly

Calls 6

functionMethod · 0.95
emitMethod · 0.95
emit_func_outputMethod · 0.95
getMethod · 0.95
_checkFunction · 0.70
arangeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…