MCPcopy 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
25def __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

decoratorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected