Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ _save_to
Function
_save_to
imperative/python/test/unit/quantization/test_fake_quant.py:89–93 ·
view source on GitHub ↗
(self, name="grad")
Source
from the content-addressed store, hash-verified
87
88
89
def
_save_to(self, name=
"grad"
):
90
def
callback(grad):
91
setattr(self, name, grad)
92
93
return
callback
94
95
96
class
Round(Function):
Callers
1
run
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected