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

Method __init__

tests/python/test_container.py:91–92  ·  view source on GitHub ↗
(self, value: Any)

Source from the content-addressed store, hash-verified

89def test_array_map_of_opaque_object() -> None:
90 class MyObject:
91 def __init__(self, value: Any) -> None:
92 self.value = value
93
94 a = tvm_ffi.convert([MyObject("hello"), MyObject(1)])
95 assert isinstance(a, tvm_ffi.Array)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected