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

Method __init__

tests/python/test_object.py:195–196  ·  view source on GitHub ↗
(self, backend_obj: Any)

Source from the content-addressed store, hash-verified

193def test_object_protocol() -> None:
194 class CompactObject:
195 def __init__(self, backend_obj: Any) -> None:
196 self.backend_obj = backend_obj
197
198 def __tvm_ffi_object__(self) -> Any:
199 return self.backend_obj

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected