MCPcopy Create free account
hub / github.com/apache/singa / backward

Method backward

python/singa/autograd.py:533–540  ·  view source on GitHub ↗

Args: dy (CTensor): dL / dy Returns: dx (CTensor): dL / dx

(self, dy)

Source from the content-addressed store, hash-verified

531 return x
532
533 def backward(self, dy):
534 """
535 Args:
536 dy (CTensor): dL / dy
537 Returns:
538 dx (CTensor): dL / dx
539 """
540 return singa.__mul__(dy, self.mask)
541
542
543def clip(x, min=None, max=None):

Callers

nothing calls this directly

Calls 1

__mul__Method · 0.45

Tested by

no test coverage detected