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

Method backward

python/singa/autograd.py:3530–3537  ·  view source on GitHub ↗

Args: dy (CTensor): data for the `dL / dy`, L is the loss. Raises: AssertionError: no backward function for this operator

(self, dy)

Source from the content-addressed store, hash-verified

3528 return cur
3529
3530 def backward(self, dy):
3531 """
3532 Args:
3533 dy (CTensor): data for the `dL / dy`, L is the loss.
3534 Raises:
3535 AssertionError: no backward function for this operator
3536 """
3537 assert False, ('no gradient for backward function')
3538
3539
3540def _or(a, b):

Callers 15

callMethod · 0.45
backward_and_updateMethod · 0.45
_retraining_helperMethod · 0.45
_conv2d_helperMethod · 0.45
_conv_same_padMethod · 0.45
_pooling_same_padMethod · 0.45
_sum_helperMethod · 0.45

Calls

no outgoing calls

Tested by 15

_retraining_helperMethod · 0.36
_conv2d_helperMethod · 0.36
_conv_same_padMethod · 0.36
_pooling_same_padMethod · 0.36
_sum_helperMethod · 0.36
_batchnorm2d_helperMethod · 0.36
_Abs_helperMethod · 0.36