tensorflow::ops::AccumulatorApplyGradient
#include <data_flow_ops.h>
Применяет градиент к заданному аккумулятору.
Краткое описание
Не добавляет, если local_step меньше, чем global_step аккумулятора.
Аргументы:
- scope: Объект Scope
- handle: Дескриптор аккумулятора.
- local_step: Значение local_step, при котором был вычислен градиент.
- gradient: Тензор градиента, подлежащий накоплению.
Возвращает:
- созданный
Operation
| Конструкторы и деструкторы | |
|---|---|
AccumulatorApplyGradient(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input local_step, ::tensorflow::Input gradient) |
| Общедоступные атрибуты | |
|---|---|
operation | |
| Общедоступные функции | |
|---|---|
operator::tensorflow::Operation() const | |
Общедоступные атрибуты
operation
Operation operation
Общедоступные функции
AccumulatorApplyGradient
AccumulatorApplyGradient( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input local_step, ::tensorflow::Input gradient )
Оператор::tensorflow::Операция
operator::tensorflow::Operation() 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/versions/r2.9/api_docs/cc/class/tensorflow/ops/accumulator-apply-gradient