tensorflow:: ops:: SparseConditionalAccumulator
#include <data_flow_ops.h>Un acumulador condicional para agregar gradientes dispersos.
Resumen
El acumulador acepta gradientes marcados con local_step mayores o iguales al último global_step conocido por el acumulador. El promedio se puede extraer del acumulador, siempre que se hayan acumulado suficientes gradientes. Al extraer el promedio, el agregado se reinicia automáticamente a 0 y se incrementa el global_step registrado por el acumulador.
Argumentos:
- ámbito: Un objeto de ámbito
- dtype: El tipo del valor que se está acumulando.
- forma: La forma de los valores.
Atributos opcionales (ver Attrs ):
- Contenedor: Si no está vacío, este acumulador se coloca en el contenedor especificado. De lo contrario, se utiliza un contenedor predeterminado.
- shared_name: Si no está vacío, este acumulador se compartirá con el nombre especificado en varias sesiones.
Devoluciones:
-
Output: El identificador del acumulador.
Constructores y destructores | |
|---|---|
SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape) | |
SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs) |
Atributos públicos | |
|---|---|
handle | |
operation | |
Funciones públicas | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
funciones estáticas públicas | |
|---|---|
Container (StringPiece x) | |
ReductionType (StringPiece x) | |
SharedName (StringPiece x) | |
Estructuras | |
|---|---|
| tensorflow:: ops:: SparseConditionalAccumulator:: Attrs | Configuradores de atributos opcionales para SparseConditionalAccumulator . |
Atributos públicos
manejar
::tensorflow::Output handle
operación
Operation operation
Funciones públicas
Acumulador condicional disperso
SparseConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape )
Acumulador condicional disperso
SparseConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs )
nodo
::tensorflow::Node * node() const
operador::tensorflow::Input
operator::tensorflow::Input() const
operador::tensorflow::Salida
operator::tensorflow::Output() const
funciones estáticas públicas
Recipiente
Attrs Container( StringPiece x )
Tipo de reducción
Attrs ReductionType( StringPiece x )
Nombre compartido
Attrs SharedName( StringPiece x )