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

Function echo

tests/python/test_function.py:166–167  ·  view source on GitHub ↗
(x: Any)

Source from the content-addressed store, hash-verified

164def test_global_func() -> None:
165 @tvm_ffi.register_global_func("mytest.echo")
166 def echo(x: Any) -> Any:
167 return x
168
169 f = tvm_ffi.get_global_func("mytest.echo")
170 assert f.same_as(echo)

Calls

no outgoing calls

Tested by

no test coverage detected