Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ _do_backward
Method
_do_backward
python/singa/autograd.py:316–320 ·
view source on GitHub ↗
(self, *dys)
Source
from the content-addressed store, hash-verified
314
return
ys
315
316
def
_do_backward(self, *dys):
317
dxs = self.backward(*dys)
318
if
not isinstance(dxs, tuple):
319
dxs = (dxs,)
320
return
dxs
321
322
def
forward(self, *xs):
323
""
"Forward propagation.
Callers
1
backward
Function · 0.80
Calls
1
backward
Method · 0.95
Tested by
no test coverage detected