Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ fapply
Function
fapply
tests/python/test_function.py:157–158 ·
view source on GitHub ↗
(f: Any, *args: Any)
Source
from the content-addressed store, hash-verified
155
assert fadd(1, 2) == 3
156
157
def
fapply(f: Any, *args: Any) -> Any:
158
return
f(*args)
159
160
fapply = tvm_ffi.convert(fapply)
161
assert fapply(add, 1, 3.3) == 4.3
Callers
5
test_function_apply
Function · 0.85
test_pyfunc_convert
Function · 0.85
test_error_from_cxx
Function · 0.85
raise_error
Function · 0.85
ExampleFunctionPassFunction
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected