tensorflow:: ops:: SparseSliceGrad

#include <sparse_ops.h>

The gradient operator for the SparseSlice op.

Summary

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 .

Args:

  • scope: A Scope object
  • backprop_val_grad: 1-D. The gradient with respect to the non-empty values of the sliced SparseTensor .
  • input_indices: 2-D. The indices of the input SparseTensor .
  • input_start: 1-D. tensor represents the start of the slice.
  • output_indices: 2-D. The 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

Public attributes

operation

Operation operation

val_grad

::tensorflow::Output val_grad

Public functions

SparseSliceGrad

 SparseSliceGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input backprop_val_grad,
  ::tensorflow::Input input_indices,
  ::tensorflow::Input input_start,
  ::tensorflow::Input output_indices
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const