Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ cb
Function
cb
imperative/python/test/unit/random/test_rng.py:715–716 ·
view source on GitHub ↗
(grad)
Source
from the content-addressed store, hash-verified
713
g = []
714
715
def
cb(grad):
716
g.append(grad)
717
718
n, m = 6, 3
719
arr = np.arange(n * m)
Callers
2
wrapper
Function · 0.50
callback
Method · 0.50
Calls
1
append
Method · 0.45
Tested by
no test coverage detected