MCPcopy
hub / github.com/apache/tvm / compiling

Function compiling

tests/python/contrib/test_cblas.py:52–57  ·  view source on GitHub ↗
(f, name="test_matmul_add", ext=".so")

Source from the content-addressed store, hash-verified

50 return np.dot(a, b) + matrix_bias
51
52 def compiling(f, name="test_matmul_add", ext=".so"):
53 path = name + ext
54 f.export_library(path)
55 mod = tvm.runtime.load_module(path)
56 f = mod[name]
57 return f
58
59 def verify(target="llvm"):
60 if not tvm.testing.device_enabled(target):

Callers 1

verifyFunction · 0.85

Calls 2

export_libraryMethod · 0.45
load_moduleMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…