tensorflow::ops::ResourceApplyAdagradDA
#include <training_ops.h>
Обновление '*var' в соответствии со схемой проксимального адаграда.
Краткое описание
Аргументы:
- scope: Объект Scope
- var: Должен быть из Variable().
- gradient_accumulator: Должен быть из Variable().
- gradient_squared_accumulator: Должен быть из Variable().
- grad: Градиент.
- lr: Коэффициент масштабирования. Должен быть скаляром.
- l1: L1-регуляризация. Должен быть скаляром.
- l2: L2-регуляризация. Должен быть скаляром.
- global_step: Номер шага обучения. Должен быть скаляром.
Необязательные атрибуты (см. Attrs):
- use_locking: Если True, обновление тензоров var и accum будет защищено блокировкой; в противном случае поведение не определено, но может характеризоваться меньшим конфликтом.
Возвращаемое значение:
- созданный
Operation
| Конструкторы и деструкторы | |
|---|---|
ResourceApplyAdagradDA(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step) | |
ResourceApplyAdagradDA(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step, const ResourceApplyAdagradDA::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
operation | |
| Общедоступные функции | |
|---|---|
operator::tensorflow::Operation() const | |
| Общедоступные статические функции | |
|---|---|
UseLocking(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::ResourceApplyAdagradDA::Attrs | Необязательные устанавливатели атрибутов для ResourceApplyAdagradDA. |
Общедоступные атрибуты
operation
Operation operation
Общедоступные функции
ResourceApplyAdagradDA
ResourceApplyAdagradDA( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step )
ResourceApplyAdagradDA
ResourceApplyAdagradDA( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input gradient_accumulator, ::tensorflow::Input gradient_squared_accumulator, ::tensorflow::Input grad, ::tensorflow::Input lr, ::tensorflow::Input l1, ::tensorflow::Input l2, ::tensorflow::Input global_step, const ResourceApplyAdagradDA::Attrs & attrs )
Оператор::tensorflow::Operation
operator::tensorflow::Operation() const
Общедоступные статические функции
UseLocking
Attrs UseLocking( bool x )
© 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/api_docs/cc/class/tensorflow/ops/resource-apply-adagrad-d-a