Create all needed tensors before applying gradients. This is called with the name_scope using the "name" that users have chosen for the application of gradients.
(self)
| 1044 | pass |
| 1045 | |
| 1046 | def _prepare(self): |
| 1047 | """Create all needed tensors before applying gradients. |
| 1048 | |
| 1049 | This is called with the name_scope using the "name" that |
| 1050 | users have chosen for the application of gradients. |
| 1051 | """ |
| 1052 | pass |
| 1053 | |
| 1054 | def _apply_dense(self, grad, var): |
| 1055 | """Add ops to apply dense gradients to `var`. |