Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ __tvm_ffi_float__
Method
__tvm_ffi_float__
tests/python/test_function.py:388–389 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
386
self.value = value
387
388
def
__tvm_ffi_float__(self) -> float:
389
return
self.value
390
391
y = fecho(FloatProtocol(10))
392
assert isinstance(y, float)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected