tensorflow::ops::AccumulatorApplyGradient
#include <data_flow_ops.h>
Применяет градиент к заданному аккумулятору.
Резюме
Не добавляет, если локальный шаг меньше глобального шага аккумулятора.
Аргументы:
- scope: Объект Scope
- handle: Детекция аккумулятора.
- 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::Operation
operator::tensorflow::Operation() const
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/class/tensorflow/ops/accumulator-apply-gradient