tensorflow::ops::AssignAdd
#include <state_ops.h>Aggiorna 'ref' aggiungendo 'value' al suo interno.
Riepilogo
Questa operazione restituisce "ref" al termine dell'aggiornamento. Ciò semplifica l'esecuzione in sequenza di operazioni che necessitano di utilizzare il valore di reset.
Argomentazioni:
- ambito: un oggetto Scope
- rif: Dovrebbe provenire da un nodo
Variable. - valore: Il valore da aggiungere alla variabile.
Attributi opzionali (vedere Attrs ):
- use_locking: Se True, l'aggiunta sarà protetta da un blocco; altrimenti il comportamento non è definito, ma potrebbe presentare una minore contesa.
Resi:
-
Output: = Uguale a "ref". Restituito per comodità per le operazioni che desiderano utilizzare il nuovo valore dopo che la variabile è stata aggiornata.
Costruttori e distruttori | |
|---|---|
AssignAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input value) | |
AssignAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input value, const AssignAdd::Attrs & attrs) |
attributi pubblici | |
|---|---|
operation | |
output_ref | |
Funzioni pubbliche | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funzioni statiche pubbliche | |
|---|---|
UseLocking (bool x) | |
Strutture | |
|---|---|
| tensorflow::ops::AssignAdd::Attrs | Impostatori di attributi opzionali per AssignAdd . |
attributi pubblici
operazione
Operation operation
output_ref
::tensorflow::Output output_ref
Funzioni pubbliche
AssegnaAggiungi
AssignAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input value )
AssegnaAggiungi
AssignAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input value, const AssignAdd::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 )