tensorflow::ops::ApplyAdagradDA
#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 будет защищено блокировкой; в противном случае поведение не определено, но может привести к меньшему конфликту.
Возвращаемое значение:
-
Output: То же, что и "var".
| Конструкторы и деструкторы | |
|---|---|
ApplyAdagradDA(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) | |
ApplyAdagradDA(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 ApplyAdagradDA::Attrs & attrs) |
| Публичные атрибуты | |
|---|---|
operation | |
out | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Публичные статические функции | |
|---|---|
UseLocking(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::ApplyAdagradDA::Attrs | Необязательные установщики атрибутов для ApplyAdagradDA. |
Публичные атрибуты
operation
Operation operation
out
::tensorflow::Output out
Публичные функции
ApplyAdagradDA
ApplyAdagradDA( 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 )
ApplyAdagradDA
ApplyAdagradDA( 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 ApplyAdagradDA::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() 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/versions/r2.9/api_docs/cc/class/tensorflow/ops/apply-adagrad-d-a