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

Method __init__

tests/python/test_function.py:385–386  ·  view source on GitHub ↗
(self, value: float)

Source from the content-addressed store, hash-verified

383
384 class FloatProtocol:
385 def __init__(self, value: float) -> None:
386 self.value = value
387
388 def __tvm_ffi_float__(self) -> float:
389 return self.value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected