Searched refs:grad_values (Results 1 – 13 of 13) sorted by relevance
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sparse_conditional_accumulator_test.py | 359 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/ |
D | api_def_SparseFillEmptyRowsGrad.pbtxt | 10 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/ |
D | optimizers.py | 276 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/ |
D | training.py | 284 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/ |
D | learning.py | 357 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/ |
D | sparse_fill_empty_rows_op.cc | 218 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/ |
D | tensorflow.-sparse-conditional-accumulator.pbtxt | 24 …argspec: "args=[\'self\', \'grad_indices\', \'grad_values\', \'grad_shape\', \'local_step\', \'nam…
|
/external/tensorflow/tensorflow/core/ops/ |
D | sparse_ops.cc | 593 ShapeHandle grad_values = c->input(1); in __anon4f27251e1602() local 594 TF_RETURN_IF_ERROR(c->WithRank(grad_values, 1, &grad_values)); in __anon4f27251e1602()
|
D | ops.pbtxt | 26044 name: "grad_values"
|
/external/tensorflow/tensorflow/python/ops/ |
D | sparse_grad.py | 283 reverse_index_map=reverse_index_map, grad_values=output_grad_values)
|
D | data_flow_ops.py | 1368 grad_values=grad.values, 1375 grad_values, argument 1415 gradient_values=grad_values,
|
/external/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 13590 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/ |
D | ops_history.v1.pbtxt | 57491 name: "grad_values"
|