Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ backward
Method
backward
python/singa/autograd.py:5603–5606 ·
view source on GitHub ↗
(self, dy)
Source
from the content-addressed store, hash-verified
5601
return
singa.Round(x)
5602
5603
def
backward(self, dy):
5604
dy = singa.Tensor(dy.shape(), dy.device())
5605
dy.SetFloatValue(0.)
5606
return
dy
5607
5608
5609
def
round(x):
Callers
nothing calls this directly
Calls
3
shape
Method · 0.95
device
Method · 0.95
Tensor
Method · 0.80
Tested by
no test coverage detected