tensorflow::ops::ApplyGradientDescent
#include <training_ops.h>Aggiorna '*var' sottraendo 'alpha' * 'delta' da esso.
Riepilogo
Argomentazioni:
- ambito: un oggetto Scope
- var: Dovrebbe provenire da una Variable().
- alpha: Fattore di scala. Deve essere uno scalare.
- delta: Il cambiamento.
Attributi opzionali (vedere Attrs ):
- use_locking: Se
True, la sottrazione sarà protetta da un blocco; altrimenti il comportamento non è definito, ma potrebbe presentare meno contesa.
Resi:
-
Output: Uguale a "var".
Costruttori e distruttori | |
|---|---|
ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta) | |
ApplyGradientDescent (const :: tensorflow::Scope & scope, :: tensorflow::Input var, :: tensorflow::Input alpha, :: tensorflow::Input delta, const ApplyGradientDescent::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::ApplyGradientDescent::Attrs | Impostatori di attributi opzionali per ApplyGradientDescent . |
attributi pubblici
operazione
Operation operation
fuori
::tensorflow::Output out
Funzioni pubbliche
Applica la discesa del gradiente
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
Applica la discesa del gradiente
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ApplyGradientDescent::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 )