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

Method __tvm_ffi_value__

tests/python/test_function.py:401–402  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

399 self.value = value
400
401 def __tvm_ffi_value__(self) -> Any:
402 return self.value
403
404 fecho = tvm_ffi.get_global_func("testing.echo")
405 assert fecho(ValueProtocol(10)) == 10

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected