Initialize the TestFFITensor.
(self, tensor: tvm_ffi.Tensor)
| 44 | """Test FFI Tensor that exposes __tvm_ffi_object__ protocol.""" |
| 45 | |
| 46 | def __init__(self, tensor: tvm_ffi.Tensor) -> None: |
| 47 | """Initialize the TestFFITensor.""" |
| 48 | self._tensor = tensor |
| 49 | |
| 50 | def __tvm_ffi_object__(self) -> tvm_ffi.Tensor: |
| 51 | """Implement __tvm_ffi_object__ protocol.""" |
nothing calls this directly
no outgoing calls
no test coverage detected