tensorflow::ops::ApplyAddSign
#include <training_ops.h>Aggiornare '*var' in base all'aggiornamento di AddSign.
Riepilogo
m_t <- beta1 * m_{t-1} + (1 - beta1) * g update <- (alpha + sign_decay * sign(g) * sign(m)) * g variable <- variable - lr_t * update
Argomentazioni:
- ambito: un oggetto Scope
- var: Dovrebbe provenire da una Variable().
- m: Dovrebbe provenire da una variabile().
- lr: Fattore di scala. Deve essere uno scalare.
- alpha: Deve essere uno scalare.
- decadimento del segno: deve essere uno scalare.
- beta: Deve essere uno scalare.
- grad: Il gradiente.
Attributi opzionali (vedere Attrs ):
- use_locking: Se
True, l'aggiornamento dei tensori var e m è protetto da un blocco; altrimenti il comportamento non è definito, ma potrebbe presentare una minore contesa.
Resi:
-
Output: Uguale a "var".
Costruttori e distruttori | |
|---|---|
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) |
attributi pubblici | |
|---|---|
operation | |
out | |
Funzioni pubbliche | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funzioni statiche pubbliche | |
|---|---|
UseLocking (bool x) | |
Strutture | |
|---|---|
| tensorflow::ops::ApplyAddSign::Attrs | Impostatori di attributi opzionali per ApplyAddSign . |
attributi pubblici
operazione
Operation operation
fuori
::tensorflow::Output out
Funzioni pubbliche
CandidatiAggiungiRegistrati
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 )
CandidatiAggiungiRegistrati
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 )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensoreflusso::output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
UseLocking
Attrs UseLocking( bool x )
tensorflow::ops::ApplyAddSign
#include <training_ops.h>Aggiornare '*var' in base all'aggiornamento di AddSign.
Riepilogo
m_t <- beta1 * m_{t-1} + (1 - beta1) * g update <- (alpha + sign_decay * sign(g) * sign(m)) * g variable <- variable - lr_t * update
Argomentazioni:
- ambito: un oggetto Scope
- var: Dovrebbe provenire da una Variable().
- m: Dovrebbe provenire da una variabile().
- lr: Fattore di scala. Deve essere uno scalare.
- alpha: Deve essere uno scalare.
- decadimento del segno: deve essere uno scalare.
- beta: Deve essere uno scalare.
- grad: Il gradiente.
Attributi opzionali (vedere Attrs ):
- use_locking: Se
True, l'aggiornamento dei tensori var e m è protetto da un blocco; altrimenti il comportamento non è definito, ma potrebbe presentare una minore contesa.
Resi:
-
Output: Uguale a "var".
Costruttori e distruttori | |
|---|---|
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) |
attributi pubblici | |
|---|---|
operation | |
out | |
Funzioni pubbliche | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funzioni statiche pubbliche | |
|---|---|
UseLocking (bool x) | |
Strutture | |
|---|---|
| tensorflow::ops::ApplyAddSign::Attrs | Impostatori di attributi opzionali per ApplyAddSign . |
attributi pubblici
operazione
Operation operation
fuori
::tensorflow::Output out
Funzioni pubbliche
CandidatiAggiungiRegistrati
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 )
CandidatiAggiungiRegistrati
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 )
nodo
::tensorflow::Node * node() const
operatore::tensorflow::Input
operator::tensorflow::Input() const
operatore::tensoreflusso::output
operator::tensorflow::Output() const
Funzioni statiche pubbliche
UseLocking
Attrs UseLocking( bool x )