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 )
operator::tensorflow::Operation
operator::tensorflow::Operation() const
Публичные статические функции
UseLocking
Attrs UseLocking( bool x )
© 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/resource-apply-gradient-descent