tensorflow::ops::ResourceApplyGradientDescent
#include <training_ops.h>
Обновляет '*var', вычитая из него 'alpha' * 'delta'.
Краткое описание
Аргументы:
- scope: Объект Scope
- var: Должен быть получен из Variable().
- alpha: Коэффициент масштабирования. Должен быть скалярным.
- delta: Изменение.
Необязательные атрибуты (см. Attrs):
- use_locking: Если
True, вычитание будет защищено блокировкой; в противном случае поведение не определено, но может проявлять меньшую конкуренцию.
Возвращает:
- созданный
Operation
| Конструкторы и деструкторы | |
|---|---|
ResourceApplyGradientDescent(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta) | |
ResourceApplyGradientDescent(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ResourceApplyGradientDescent::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
operation | |
| Общедоступные функции | |
|---|---|
operator::tensorflow::Operation() const | |
| Общедоступные статические функции | |
|---|---|
UseLocking(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::ResourceApplyGradientDescent::Attrs | Необязательные установщики атрибутов для ResourceApplyGradientDescent. |
Общедоступные атрибуты
operation
Operation operation
Общедоступные функции
ResourceApplyGradientDescent
ResourceApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
ResourceApplyGradientDescent
ResourceApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ResourceApplyGradientDescent::Attrs & attrs )
Оператор::tensorflow::Операция
operator::tensorflow::Operation() const
Общедоступные статические функции
UseLocking
Attrs UseLocking( bool x )
© 2020 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.4/api_docs/cc/class/tensorflow/ops/resource-apply-gradient-descent