Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ _grad_rule
Method
_grad_rule
imperative/python/megengine/core/autodiff/grad.py:177–178 ·
view source on GitHub ↗
(self, *args)
Source
from the content-addressed store, hash-verified
175
return
ret
176
177
def
_grad_rule(self, *args):
178
return
self._default_rule(*args), self.backward
179
180
def
__call__(self, *args):
181
from
...tensor
import
Tensor
Callers
1
__call__
Method · 0.95
Calls
1
_default_rule
Method · 0.95
Tested by
no test coverage detected