tensör akışı:: işlem:: UygulaAddSign
#include <training_ops.h>AddSign güncellemesine göre '*var'ı güncelleyin.
Özet
m_t <- beta1 * m_{t-1} + (1 - beta1) * g güncelleme <- (alpha +sign_decay *sign(g) *sign(m)) * g değişkeni <- değişken - lr_t * güncelleme
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- var: Bir Variable()'dan olmalıdır.
- m: Bir Variable()'dan olmalıdır.
- lr: Ölçeklendirme faktörü. Bir skaler olmalı.
- alfa: Bir skaler olmalı.
- sign_decay: Skaler olmalı.
- beta: Skaler olmalı.
- grad: Gradyan.
 İsteğe bağlı özellikler (bkz. Attrs ):
-  use_locking: Trueise, var ve m tensörlerinin güncellenmesi bir kilitle korunur; aksi takdirde davranış tanımsızdır ancak daha az çekişme sergileyebilir.
İade:
-  Output: "var" ile aynı.
| Yapıcılar ve Yıkıcılar | |
|---|---|
| ApplyAddSign (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input m, :: tensorflow::Input lr, :: tensorflow::Input alpha, :: tensorflow::Input sign_decay, :: tensorflow::Input beta, :: tensorflow::Input grad) | |
| ApplyAddSign (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input m, :: tensorflow::Input lr, :: tensorflow::Input alpha, :: tensorflow::Input sign_decay, :: tensorflow::Input beta, :: tensorflow::Input grad, const ApplyAddSign::Attrs & attrs) | 
| Genel özellikler | |
|---|---|
| operation | |
| out | |
| Kamu işlevleri | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| Genel statik işlevler | |
|---|---|
| UseLocking (bool x) | |
| Yapılar | |
|---|---|
| tensorflow:: ops:: ApplyAddSign:: Öznitelikler | ApplyAddSign için isteğe bağlı öznitelik ayarlayıcılar. | 
Genel özellikler
operasyon
Operation operation
dışarı
::tensorflow::Output out
Kamu işlevleri
UygulaAddSign
ApplyAddSign( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input m, ::tensorflow::Input lr, ::tensorflow::Input alpha, ::tensorflow::Input sign_decay, ::tensorflow::Input beta, ::tensorflow::Input grad )
UygulaAddSign
ApplyAddSign( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input m, ::tensorflow::Input lr, ::tensorflow::Input alpha, ::tensorflow::Input sign_decay, ::tensorflow::Input beta, ::tensorflow::Input grad, const ApplyAddSign::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
KullanımKilitleme
Attrs UseLocking( bool x )