tensorflow :: opérations :: AppliquerGradientDescente
#include <training_ops.h>
Mettez à jour '* var' en soustrayant 'alpha' * 'delta'.
Résumé
Arguments:
- scope: un objet Scope
- var: Doit provenir d'une variable ().
- alpha: facteur d'échelle. Doit être un scalaire.
- delta: Le changement.
Attributs facultatifs (voir Attrs
):
- use_locking: Si
True
, la soustraction sera protégée par un verrou; sinon, le comportement n'est pas défini, mais peut présenter moins de conflits.
Retour:
-
Output
: identique à "var".
Constructeurs et destructeurs | |
---|---|
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) |
Attributs publics | |
---|---|
operation | |
out |
Fonctions publiques | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Fonctions statiques publiques | |
---|---|
UseLocking (bool x) |
Structs | |
---|---|
tensorflow :: ops :: ApplyGradientDescent :: Attrs | Définisseurs d' attributs facultatifs pour ApplyGradientDescent . |
Attributs publics
opération
Operation operation
en dehors
::tensorflow::Output out
Fonctions publiques
AppliquerGradientDescente
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta )
AppliquerGradientDescente
ApplyGradientDescent( const ::tensorflow::Scope & scope, ::tensorflow::Input var, ::tensorflow::Input alpha, ::tensorflow::Input delta, const ApplyGradientDescent::Attrs & attrs )
nœud
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Fonctions statiques publiques
Utiliser le verrouillage
Attrs UseLocking( bool x )