#include <data_flow_ops.h>
Applies a sparse gradient to a given accumulator.
Does not add if local_step is smaller than the accumulator's global_step.
Arguments:
Returns:
Operation
| Constructors and Destructors | |
|---|---|
SparseAccumulatorApplyGradient(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input local_step, ::tensorflow::Input gradient_indices, ::tensorflow::Input gradient_values, ::tensorflow::Input gradient_shape, bool has_known_shape) |
| Public attributes | |
|---|---|
operation | |
| Public functions | |
|---|---|
operator::tensorflow::Operation() const | |
Operation operation
SparseAccumulatorApplyGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input local_step, ::tensorflow::Input gradient_indices, ::tensorflow::Input gradient_values, ::tensorflow::Input gradient_shape, bool has_known_shape )
operator::tensorflow::Operation() const
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/sparse-accumulator-apply-gradient.html