#include <sparse_ops.h>
The gradient operator for the SparseSlice op.
This op takes in the upstream gradient w.r.t. non-empty values of the sliced SparseTensor
, and outputs the gradients w.r.t. the non-empty values of input SparseTensor
.
Arguments:
SparseTensor
.indices
of the input SparseTensor
.indices
of the sliced SparseTensor
.Returns:
Output
: 1-D. The gradient with respect to the non-empty values of input SparseTensor
. Constructors and Destructors | |
---|---|
SparseSliceGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input backprop_val_grad, ::tensorflow::Input input_indices, ::tensorflow::Input input_start, ::tensorflow::Input output_indices) |
Public attributes | |
---|---|
operation | |
val_grad |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Operation operation
::tensorflow::Output val_grad
SparseSliceGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input backprop_val_grad, ::tensorflow::Input input_indices, ::tensorflow::Input input_start, ::tensorflow::Input output_indices )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/sparse-slice-grad