Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/MingchaoZhu/DeepLearning
/ backward
Method
backward
code/chapter6.py:322–328 ·
view source on GitHub ↗
(self, grad)
Source
from the content-addressed store, hash-verified
320
return
out, Xs
321
322
def
backward(self, grad):
323
dXs = {}
324
out = grad
325
for
k, v in reversed(list(self.layers.items())):
326
dXs[k] = out
327
out = v.backward(out)
328
return
out, dXs
329
330
def
update(self):
331
""
"
Callers
1
fit
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected