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

Function test_vm_checker

tests/python/relax/test_vm_execbuilder.py:77–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76
77def test_vm_checker():
78 ib = relax.ExecBuilder()
79 with pytest.raises(RuntimeError):
80 with ib.function("func0", num_inputs=2):
81 ib.emit_call("test.vm.add", args=[ib.r(0), ib.r(2)], dst=ib.r(2))
82 ib.emit_ret(ib.r(2))
83 ib.get()
84
85
86def test_neg_imm():

Callers

nothing calls this directly

Calls 5

functionMethod · 0.95
emit_callMethod · 0.95
rMethod · 0.95
emit_retMethod · 0.95
getMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…