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

Method backward

imperative/python/test/unit/core/test_function.py:175–176  ·  view source on GitHub ↗
(self, grad_y)

Source from the content-addressed store, hash-verified

173 return F.round(x / scale) * scale
174
175 def backward(self, grad_y):
176 return grad_y
177
178 class Simple(Module):
179 def __init__(self, a):

Callers 15

test_advance_indexingFunction · 0.45
trainFunction · 0.45
test_save_loadFunction · 0.45
train_funcFunction · 0.45
runFunction · 0.45
train_funFunction · 0.45
trainFunction · 0.45
funcFunction · 0.45
runnerFunction · 0.45
test_detachFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected