Args: dy (CTensor): data for the `dL / dy`, L is the loss. Raises: AssertionError: no backward function for this operator
(self, dy)
| 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 | |
| 3540 | def _or(a, b): |
no outgoing calls