tensorflow :: ops :: ResourceApplyPowerSign
#include <training_ops.h>
AddSign güncellemesine göre '* var'ı güncelleyin.
Özet
m_t <- beta1 * m_ {t-1} + (1 - beta1) * g güncelleme <- exp (logbase * işaret_decay * işaret (g) * işaret (m_t)) * g değişkeni <- değişken - lr_t * güncelleme
Argümanlar:
- kapsam: Bir Scope nesnesi
- var: Değişken () 'den olmalıdır.
- m: Bir Değişken () 'den olmalıdır.
- lr: Ölçekleme faktörü. Skaler olmalı.
- logbase: Skaler olmalıdır.
- sign_decay: Skaler olmalıdır.
- beta: Skaler olmalıdır.
- grad: Gradyan.
İsteğe bağlı özellikler (bkz. Attrs
):
- use_locking:
True
ise, var ve m tensörlerin güncellenmesi bir kilit ile korunur; aksi takdirde davranış tanımsızdır, ancak daha az çekişme gösterebilir.
İadeler:
- oluşturulan
Operation
Yapıcılar ve Yıkıcılar | |
---|---|
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) |
Genel özellikler | |
---|---|
operation |
Kamusal işlevler | |
---|---|
operator::tensorflow::Operation () const |
Genel statik işlevler | |
---|---|
UseLocking (bool x) |
Yapılar | |
---|---|
tensorflow :: ops :: ResourceApplyPowerSign :: Attrs | ResourceApplyPowerSign için isteğe bağlı öznitelik belirleyiciler. |
Genel özellikler
operasyon
Operation operation
Kamusal işlevler
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 :: İşlem
operator::tensorflow::Operation() const
Genel statik işlevler
Kullanım Kilitleme
Attrs UseLocking( bool x )