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

Function _

imperative/python/test/unit/core/test_autodiff.py:195–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193
194 @check
195 def _():
196 with Grad() as g:
197 g.wrt(x)
198 y = x * x
199 g(y, dy)
200
201 @check
202 def _():

Callers 7

GradKeyWrapperClass · 0.85
TraceKeyWrapperClass · 0.85
TensorWrapperClass · 0.85
prof_implMethod · 0.85

Calls 3

GradClass · 0.90
wrtMethod · 0.80
gFunction · 0.50

Tested by

no test coverage detected