Add ops to apply dense gradients to `var`. Args: grad: A `Tensor`. var: A `Variable` object. Returns: An `Operation`.
(self, grad, var)
| 1052 | pass |
| 1053 | |
| 1054 | def _apply_dense(self, grad, var): |
| 1055 | """Add ops to apply dense gradients to `var`. |
| 1056 | |
| 1057 | Args: |
| 1058 | grad: A `Tensor`. |
| 1059 | var: A `Variable` object. |
| 1060 | |
| 1061 | Returns: |
| 1062 | An `Operation`. |
| 1063 | """ |
| 1064 | raise NotImplementedError() |
| 1065 | |
| 1066 | def _resource_apply_dense(self, grad, handle): |
| 1067 | """Add ops to apply dense gradients to the variable `handle`. |