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

Method __init__

tests/python/test_tensor.py:173–175  ·  view source on GitHub ↗
(self, a: MyTensor, b: int)

Source from the content-addressed store, hash-verified

171
172 class MyCustom:
173 def __init__(self, a: MyTensor, b: int) -> None:
174 self.a = a
175 self.b = b
176
177 def __tvm_ffi_value__(self) -> Any:
178 """Implement __tvm_ffi_value__ protocol."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected