Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ __res_register
Function
__res_register
flow-python/megflow/registry.py:25–30 ·
view source on GitHub ↗
(name, func)
Source
from the content-addressed store, hash-verified
23
24
25
def
__res_register(name, func):
26
params = {}
27
params[
'name'
] = name
28
params[
'code'
] = func
29
30
return
params
31
32
33
__NODES_PLUGINS =
'nodes'
Callers
1
decorator
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected