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

Function run_add_one

examples/python_packaging/run_example.py:30–33  ·  view source on GitHub ↗

Invoke add_one from the extension and print the result.

()

Source from the content-addressed store, hash-verified

28
29
30def run_add_one() -> None:
31 """Invoke add_one from the extension and print the result."""
32 print("=========== Example 2: add_one ===========")
33 print(my_ffi_extension.add_one(3))
34
35
36def run_raise_error() -> None:

Callers 1

run_example.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected