(self, grad, var, state)
| 173 | return control_flow_ops.group(*[var_update, m_t, v_t]) |
| 174 | |
| 175 | def _apply_sparse(self, grad, var, state): |
| 176 | return self._apply_sparse_shared( |
| 177 | grad.values, var, grad.indices, |
| 178 | lambda x, i, v: state_ops.scatter_add( # pylint: disable=g-long-lambda |
| 179 | x, i, v, use_locking=self._use_locking), |
| 180 | state) |
| 181 | |
| 182 | def _resource_scatter_add(self, x, i, v): |
| 183 | with ops.control_dependencies( |
nothing calls this directly
no test coverage detected