MCPcopy 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
5609def round(x):

Callers

nothing calls this directly

Calls 3

shapeMethod · 0.95
deviceMethod · 0.95
TensorMethod · 0.80

Tested by

no test coverage detected