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

Method __init__

tests/python/test_function.py:218–219  ·  view source on GitHub ↗
(self, value: Any)

Source from the content-addressed store, hash-verified

216def test_echo_with_opaque_object() -> None:
217 class MyObject:
218 def __init__(self, value: Any) -> None:
219 self.value = value
220
221 fecho = tvm_ffi.get_global_func("testing.echo")
222 x = MyObject("hello")

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected