tensorflow:: ops:: SparseSegmentSqrtNGradV2
#include <math_ops.h>
Computes gradients for SparseSegmentSqrtN.
Summary
Returns tensor "output" with same shape as grad, except for dimension 0 whose value is the number of unique indexes in "indices". Also returns vector "sorted_unique_indices" containing the corresponding indexes from "indices".
Args:
- scope: A Scope object
- grad: gradient propagated to the SparseSegmentSqrtN op.
- indices: indices passed to the corresponding SparseSegmentSqrtN op.
- segment_ids: segment_ids passed to the corresponding SparseSegmentSqrtN op.
- dense_output_dim0: dimension 0 of "data" passed to SparseSegmentSqrtN op.
Returns:
Constructors and Destructors |
|
---|---|
SparseSegmentSqrtNGradV2(const ::tensorflow::Scope & scope, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input segment_ids, ::tensorflow::Input dense_output_dim0)
|
Public attributes |
|
---|---|
operation
|
|
output
|
|
sorted_unique_indices
|
Public attributes
operation
Operation operation
output
::tensorflow::Output output
sorted_unique_indices
::tensorflow::Output sorted_unique_indices
Public functions
SparseSegmentSqrtNGradV2
SparseSegmentSqrtNGradV2( const ::tensorflow::Scope & scope, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input segment_ids, ::tensorflow::Input dense_output_dim0 )