tensorflow::ops::SparseSegmentSumGrad
#include <math_ops.h>
Вычисляет градиенты для SparseSegmentSum.
Краткое описание
Возвращает тензор "output" с такой же формой, как у grad, за исключением измерения 0, значение которого равно output_dim0.
Аргументы:
- scope: Объект Scope
- grad: градиент, распространяемый на операцию SparseSegmentSum.
- indices: индексы, переданные соответствующей операции SparseSegmentSum.
- segment_ids: segment_ids, переданные соответствующей операции SparseSegmentSum.
- output_dim0: измерение 0 "data", переданное в операцию SparseSegmentSum.
Возвращаемое значение:
-
Output: Результирующий тензор.
| Конструкторы и деструкторы | |
|---|---|
SparseSegmentSumGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input segment_ids, ::tensorflow::Input output_dim0) |
| Общедоступные атрибуты | |
|---|---|
operation | |
output | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Общедоступные функции
SparseSegmentSumGrad
SparseSegmentSumGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input grad, ::tensorflow::Input indices, ::tensorflow::Input segment_ids, ::tensorflow::Input output_dim0 )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 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-sum-grad