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

Function cb

tests/scripts/benchmark_pycallback.py:64–65  ·  view source on GitHub ↗
(_a, _b, _c)

Source from the content-addressed store, hash-verified

62 """convert_func(cb, tensor_cls=torch.Tensor): callback sees torch.Tensor directly."""
63
64 def cb(_a, _b, _c) -> None: # noqa: ANN001
65 pass
66
67 callback = tvm_ffi.convert_func(cb, tensor_cls=torch.Tensor)
68 invoke_n(callback, 10, a, b, c)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected