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

Function AddTwo

examples/python_packaging/src/extension.cc:32–32  ·  view source on GitHub ↗

[tvm_ffi_abi.begin]

Source from the content-addressed store, hash-verified

30
31// [tvm_ffi_abi.begin]
32static int AddTwo(int x) { return x + 2; }
33
34TVM_FFI_DLL_EXPORT_TYPED_FUNC(add_two, AddTwo)
35// [tvm_ffi_abi.end]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected