MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _resource_scatter_add

Method _resource_scatter_add

tensorflow/python/training/adam.py:264–267  ·  view source on GitHub ↗
(self, x, i, v)

Source from the content-addressed store, hash-verified

262 grad, indices, use_locking=self._use_locking)
263
264 def _resource_scatter_add(self, x, i, v):
265 with ops.control_dependencies(
266 [resource_variable_ops.resource_scatter_add(x.handle, i, v)]):
267 return x.value()
268
269 def _resource_apply_sparse(self, grad, var, indices, indices_counts = None):
270 m = self.get_slot(var, "m")

Callers

nothing calls this directly

Calls 2

control_dependenciesMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected