Home
last modified time | relevance | path

Searched refs:scatter_add (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/contrib/opt/python/training/
Dweight_decay_optimizers.py179 def _decay_weights_sparse_op(self, var, indices, scatter_add): argument
182 return scatter_add(var, indices, update, self._use_locking)
197 scatter_add = state_ops.scatter_add
198 decay_op = self._decay_weights_sparse_op(var, grad.indices, scatter_add)
211 scatter_add = self._resource_scatter_add
212 decay_op = self._decay_weights_sparse_op(var, indices, scatter_add)
Dnadam_optimizer.py71 def _apply_sparse_shared(self, grad, var, indices, scatter_add): argument
85 m_t = scatter_add(m, indices, m_scaled_g_values)
93 v_t = scatter_add(v, indices, v_scaled_g_values)
96 var_update = scatter_add(var, indices, -lr * m_bar / (v_sqrt + epsilon_t))
Dadam_gs_optimizer.py179 def _apply_sparse_shared(self, grad, var, indices, scatter_add): argument
193 m_t = scatter_add(m, indices, m_scaled_g_values)
199 v_t = scatter_add(v, indices, v_scaled_g_values)
210 lambda x, i, v: state_ops.scatter_add( # pylint: disable=g-long-lambda
Dadamax.py138 scatter_add, scatter_update): argument
161 var_update = scatter_add(var, indices, var_slice)
167 lambda x, i, v: state_ops.scatter_add( # pylint: disable=g-long-lambda
Dshampoo.py398 mat_g_updated = state_ops.scatter_add(mat_g, indices,
423 var_updated = state_ops.scatter_add(
/external/tensorflow/tensorflow/contrib/optimizer_v2/
Dadam.py149 def _apply_sparse_shared(self, grad, var, indices, scatter_add, state): argument
163 m_t = scatter_add(m, indices, m_scaled_g_values)
169 v_t = scatter_add(v, indices, v_scaled_g_values)
178 lambda x, i, v: state_ops.scatter_add( # pylint: disable=g-long-lambda
/external/tensorflow/tensorflow/python/kernel_tests/
Dscatter_ops_test.py109 state_ops.scatter_add: _NumpyAdd,
119 state_ops.scatter_add: _NumpyAddScalar,
210 self._VariableRankTests(state_ops.scatter_add, False)
234 self._VariableRankTests(state_ops.scatter_add, True)
262 self._VariableRankTests(state_ops.scatter_add, False, True)
286 self._VariableRankTests(state_ops.scatter_add, True, True)
Dembedding_ops_test.py55 def _TestCase(self, shape, indices, scatter_op=state_ops.scatter_add):
83 if scatter_op == state_ops.scatter_add:
127 state_ops.scatter_add(var, indices, values)
132 state_ops.scatter_add(var, indices, values)
Dresource_variable_ops_test.py960 state_ops.scatter_add(v, [1], [3])
/external/tensorflow/tensorflow/python/training/
Dadam.py179 def _apply_sparse_shared(self, grad, var, indices, scatter_add): argument
193 m_t = scatter_add(m, indices, m_scaled_g_values)
199 v_t = scatter_add(v, indices, v_scaled_g_values)
210 lambda x, i, v: state_ops.scatter_add( # pylint: disable=g-long-lambda
/external/tensorflow/tensorflow/python/ops/
Dstate_ops.py368 def scatter_add(ref, indices, updates, use_locking=False, name=None): function
412 return gen_state_ops.scatter_add(ref, indices, updates,
Dstandard_ops.py86 from tensorflow.python.ops.state_ops import scatter_add
Dclustering_ops.py494 update_counts = state_ops.scatter_add(total_counts, unique_ids,
496 update_cluster_centers = state_ops.scatter_add(
Dvariables.py613 def scatter_add(self, sparse_delta, use_locking=False, name=None): member in Variable
1860 def scatter_add(self, sparse_delta, use_locking=False, name=None): member in RefVariable
1877 return gen_state_ops.scatter_add(
Dmetrics_impl.py1053 update_total_op = state_ops.scatter_add(total, labels, ones)
1054 update_count_op = state_ops.scatter_add(count, labels, is_correct)
Dresource_variable_ops.py1093 def scatter_add(self, sparse_delta, use_locking=False, name=None): member in ResourceVariable
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-variable.pbtxt100 name: "scatter_add"
Dtensorflow.pbtxt1916 name: "scatter_add"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.-variable.pbtxt99 name: "scatter_add"
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dclustering_ops.py493 update_counts = state_ops.scatter_add(total_counts, unique_ids,
495 update_cluster_centers = state_ops.scatter_add(
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/
Dsdca_ops.py380 result = state_ops.scatter_add(weights[p], gather_ids[p], updates[p])
556 update_ops.append(state_ops.scatter_add(w, i, u))
/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dmetric_ops.py1671 update_tp = state_ops.scatter_add(
1673 update_fp = state_ops.scatter_add(