tensorflow::ops::SparseSegmentSqrtNGradV2
#include <math_ops.h>
Вычисляет градиенты для SparseSegmentSqrtN.
Резюме
Возвращает тензор "output" с той же формой, что и grad, за исключением измерения 0, значение которого равно количеству уникальных индексов в "indices". Также возвращает вектор "sorted_unique_indices", содержащий соответствующие индексы из "indices".
Аргументы:
- scope: Объект Scope
- grad: градиент, переданный в операцию SparseSegmentSqrtN.
- indices: индексы, переданные в соответствующую операцию SparseSegmentSqrtN.
- segment_ids: segment_ids, переданные в соответствующую операцию SparseSegmentSqrtN.
- dense_output_dim0: измерение 0 "data", переданное в операцию SparseSegmentSqrtN.
Возвращаемое значение:
| Конструкторы и деструкторы | |
|---|---|
SparseSegmentSqrtNGradV2(const ::tensorflow::Scope & scope, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input segment_ids, ::tensorflow::Input dense_output_dim0) |
| Общедоступные атрибуты | |
|---|---|
operation | |
output | |
sorted_unique_indices | |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
sorted_unique_indices
::tensorflow::Output sorted_unique_indices
Общедоступные функции
SparseSegmentSqrtNGradV2
SparseSegmentSqrtNGradV2( const ::tensorflow::Scope & scope, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input segment_ids, ::tensorflow::Input dense_output_dim0 )
© 2022 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/api_docs/cc/class/tensorflow/ops/sparse-segment-sqrt-n-grad-v2