(self, grad, var)
| 237 | grad, indices, use_locking=self._use_locking) |
| 238 | |
| 239 | def _apply_sparse(self, grad, var): |
| 240 | return self._apply_sparse_shared( |
| 241 | grad.values, |
| 242 | var, |
| 243 | grad.indices, |
| 244 | lambda x, i, v: state_ops.scatter_add( # pylint: disable=g-long-lambda |
| 245 | x, |
| 246 | i, |
| 247 | v, |
| 248 | use_locking=self._use_locking)) |
| 249 | |
| 250 | def _hash_table_apply_sparse(self, grad, var, indices): |
| 251 | m = self.get_slot(var, "m") |
nothing calls this directly
no test coverage detected