Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ROCm/AMDMIGraphX
/ add_function
Function
add_function
tools/api.py:676–679 ·
view source on GitHub ↗
(name: str, *args, **kwargs)
Source
from the content-addressed store, hash-verified
674
675
676
def
add_function(name: str, *args, **kwargs) -> Function:
677
f = Function(name, *args, **kwargs)
678
functions.append(f)
679
return
f
680
681
682
def
once(f: Callable) -> Any:
Callers
6
add_handle
Function · 0.85
constructor
Method · 0.85
method
Method · 0.85
function
Method · 0.85
constructor
Method · 0.85
virtual
Method · 0.85
Calls
2
Function
Class · 0.85
append
Method · 0.45
Tested by
no test coverage detected