tensorflow::ops::ResourceApplyPowerSign
#include <training_ops.h>
Обновление '*var' в соответствии с обновлением AddSign.
Краткое описание
m_t
Аргументы:
- scope: Объект Scope
- var: Должен быть из Variable().
- m: Должен быть из Variable().
- lr: Коэффициент масштабирования. Должен быть скаляром.
- logbase: Должен быть скаляром.
- sign_decay: Должен быть скаляром.
- beta: Должен быть скаляром.
- grad: Градиент.
Необязательные атрибуты (см. Attrs):
- use_locking: Если
True, обновление тензоров var и m защищено блокировкой; в противном случае поведение не определено, но может характеризоваться меньшим конфликтом.
Возвращает:
- созданный
Operation
| Конструкторы и деструкторы | |
|---|---|
ResourceApplyPowerSign(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input m, ::tensorflow::Input lr, ::tensorflow::Input logbase, ::tensorflow::Input sign_decay, ::tensorflow::Input beta, ::tensorflow::Input grad) | |
ResourceApplyPowerSign(const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input m, ::tensorflow::Input lr, ::tensorflow::Input logbase, ::tensorflow::Input sign_decay, ::tensorflow::Input beta, ::tensorflow::Input grad, const ResourceApplyPowerSign::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
operation | |
| Общедоступные функции | |
|---|---|
operator::tensorflow::Operation() const | |
| Общедоступные статические функции | |
|---|---|
UseLocking(bool x) | |
| Структуры | |
|---|---|
| tensorflow::ops::ResourceApplyPowerSign::Attrs | Необязательные установки атрибутов для ResourceApplyPowerSign. |
Общедоступные атрибуты
operation
Operation operation
Общедоступные функции
ResourceApplyPowerSign
ResourceApplyPowerSign( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input m, ::tensorflow::Input lr, ::tensorflow::Input logbase, ::tensorflow::Input sign_decay, ::tensorflow::Input beta, ::tensorflow::Input grad )
ResourceApplyPowerSign
ResourceApplyPowerSign( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input m, ::tensorflow::Input lr, ::tensorflow::Input logbase, ::tensorflow::Input sign_decay, ::tensorflow::Input beta, ::tensorflow::Input grad, const ResourceApplyPowerSign::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/r2.3/api_docs/cc/class/tensorflow/ops/resource-apply-power-sign