Initialize the MyTensor.
(self, tensor: tvm_ffi.Tensor)
| 144 | def test_tvm_ffi_tensor_compatible() -> None: |
| 145 | class MyTensor: |
| 146 | def __init__(self, tensor: tvm_ffi.Tensor) -> None: |
| 147 | """Initialize the MyTensor.""" |
| 148 | self._tensor = tensor |
| 149 | |
| 150 | def __tvm_ffi_object__(self) -> tvm_ffi.Tensor: |
| 151 | """Implement __tvm_ffi_object__ protocol.""" |
nothing calls this directly
no outgoing calls
no test coverage detected