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

Function run_add_two

examples/python_packaging/run_example.py:24–27  ·  view source on GitHub ↗

Invoke add_two from the extension and print the result.

()

Source from the content-addressed store, hash-verified

22
23
24def run_add_two() -> None:
25 """Invoke add_two from the extension and print the result."""
26 print("=========== Example 1: add_two ===========")
27 print(my_ffi_extension.LIB.add_two(1))
28
29
30def run_add_one() -> None:

Callers 1

run_example.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected