tensorflow::ops::ResourceApplyGradientDescent
#include <training_ops.h>Обновите переменную '*var', вычтя из нее 'alpha' * 'delta'.
Краткое содержание
Аргументы:
- scope: Объект Scope
- var: Должно быть из функции Variable().
- альфа: Масштабный коэффициент. Должен быть скалярным значением.
- дельта: Изменение.
Дополнительные атрибуты (см. 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
Общественные функции
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::Operation
operator::tensorflow::Operation() const
Открытые статические функции
UseLocking
Attrs UseLocking( bool x )