MCPcopy Create free account
hub / github.com/apache/tvm-ffi / add

Function add

tests/python/test_function.py:150–151  ·  view source on GitHub ↗
(a: int, b: int)

Source from the content-addressed store, hash-verified

148
149def test_pyfunc_convert() -> None:
150 def add(a: int, b: int) -> int:
151 return a + b
152
153 fadd = tvm_ffi.convert(add)
154 assert isinstance(fadd, tvm_ffi.Function)

Callers 1

_run_testsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected