MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / callback

Function callback

imperative/python/megengine/utils/module_stats.py:61–64  ·  view source on GitHub ↗
(impl)

Source from the content-addressed store, hash-verified

59
60def _register_dict(*modules, dict=None):
61 def callback(impl):
62 for module in modules:
63 dict[module] = impl
64 return impl
65
66 return callback
67

Callers 15

_access_structureFunction · 0.50
backwardMethod · 0.50
init_tensorFunction · 0.50
attachMethod · 0.50
apply_transformationMethod · 0.50
apply_transformationMethod · 0.50
foreach_operatorFunction · 0.50
foreachMethod · 0.50
foreachMethod · 0.50
foreachMethod · 0.50
foreachMethod · 0.50
foreachMethod · 0.50

Calls

no outgoing calls

Tested by 1

mavi_iter_data_valueFunction · 0.40