Home
last modified time | relevance | path

Searched refs:grad_values (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_conditional_accumulator_test.py359 grad_values=np.array([1, 2]).astype(np.float32)).run()
369 grad_indices=[0], grad_values=np.array(1).astype(np.float32)).run()
380 grad_values=np.array([[0, 1, 1]]).astype(np.float32)).run()
390 accum_op = q.apply_grad(grad_indices=x_indices, grad_values=x_values)
409 accum_op = q.apply_grad(grad_indices=x_indices, grad_values=x_values)
426 q.apply_grad(grad_indices=0, grad_values=[1.0], grad_shape=[]).run()
430 q.apply_grad(grad_indices=0, grad_values=[1.0]).run()
434 q.apply_grad(grad_indices=[0], grad_values=1.0, grad_shape=[]).run()
438 q.apply_grad(grad_indices=[0], grad_values=1.0).run()
441 q.apply_grad(grad_indices=[0], grad_values=[1.0], grad_shape=[]).run()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SparseFillEmptyRowsGrad.pbtxt10 name: "grad_values"
29 Takes vectors reverse_index_map, shaped `[N]`, and grad_values,
34 d_values[j] = grad_values[reverse_index_map[j]]
36 grad_values[k] * 1{k not in reverse_index_map})
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Doptimizers.py276 grad_values = gradient.values
278 grad_values = gradient
280 if grad_values is not None:
283 summary.histogram("gradients/%s" % var_name, grad_values)
286 clip_ops.global_norm([grad_values]))
439 grad_values = grad.values * multiplier
440 grad = ops.IndexedSlices(grad_values, grad.indices, grad.dense_shape)
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining.py284 grad_values = grad.values
286 grad_values = grad
288 summary.histogram(var.op.name + '_gradient', grad_values))
291 clip_ops.global_norm([grad_values])))
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning.py357 grad_values = grad.values
359 grad_values = grad
361 summary.histogram(var.op.name + '/gradient', grad_values))
364 clip_ops.global_norm([grad_values])))
/external/tensorflow/tensorflow/core/kernels/
Dsparse_fill_empty_rows_op.cc218 const auto grad_values = grad_values_t->vec<T>(); in Compute() local
244 d_values(i) = grad_values(reverse_index_map(i)); in Compute()
252 d_default_value += grad_values(j); in Compute()
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.-sparse-conditional-accumulator.pbtxt24 …argspec: "args=[\'self\', \'grad_indices\', \'grad_values\', \'grad_shape\', \'local_step\', \'nam…
/external/tensorflow/tensorflow/core/ops/
Dsparse_ops.cc593 ShapeHandle grad_values = c->input(1); in __anon4f27251e1602() local
594 TF_RETURN_IF_ERROR(c->WithRank(grad_values, 1, &grad_values)); in __anon4f27251e1602()
Dops.pbtxt26044 name: "grad_values"
/external/tensorflow/tensorflow/python/ops/
Dsparse_grad.py283 reverse_index_map=reverse_index_map, grad_values=output_grad_values)
Ddata_flow_ops.py1368 grad_values=grad.values,
1375 grad_values, argument
1415 gradient_values=grad_values,
/external/tensorflow/tensorflow/go/op/
Dwrappers.go13590 func SparseFillEmptyRowsGrad(scope *Scope, reverse_index_map tf.Output, grad_values tf.Output) (d_v…
13597 reverse_index_map, grad_values,
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v1.pbtxt57491 name: "grad_values"