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

Function test_executable_init

tests/python/runtime/test_executable.py:42–48  ·  view source on GitHub ↗

Test initialization of Executable class.

()

Source from the content-addressed store, hash-verified

40
41
42def test_executable_init():
43 """Test initialization of Executable class."""
44 lib = tvm.tirx.build(MyModule, target="llvm")
45 executable = Executable(lib)
46
47 assert executable.mod is lib
48 assert executable._jitted_mod is None
49
50
51def test_executable_getitem():

Callers

nothing calls this directly

Calls 2

ExecutableClass · 0.90
buildMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…