tensorflow :: ops :: SparseConditionalAccumulator
#include <data_flow_ops.h>Um acumulador condicional para agregar gradientes esparsos.
Resumo
O acumulador aceita gradientes marcados com local_step maior ou igual ao global_step mais recente conhecido pelo acumulador. A média pode ser extraída do acumulador, desde que gradientes suficientes tenham sido acumulados. Extrair a média redefine automaticamente o agregado para 0 e incrementa o global_step registrado pelo acumulador.
Argumentos:
- escopo: um objeto Scope
- dtype: o tipo de valor que está sendo acumulado.
- forma: a forma dos valores.
Atributos opcionais (consulte Attrs ):
- container: Se não estiver vazio, este acumulador é colocado em um determinado container. Caso contrário, um contêiner padrão é usado.
- shared_name: Se não estiver vazio, este acumulador será compartilhado com o nome fornecido em várias sessões.
Retorna:
-
Output: A alça para o acumulador.
Construtores e Destruidores | |
|---|---|
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 | |
Funções públicas | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Funções estáticas públicas | |
|---|---|
Container (StringPiece x) | |
ReductionType (StringPiece x) | |
SharedName (StringPiece x) | |
Structs | |
|---|---|
| tensorflow :: ops :: SparseConditionalAccumulator :: Attrs | Configuradores de atributos opcionais para SparseConditionalAccumulator . |
Atributos públicos
lidar com
::tensorflow::Output handle
Operação
Operation operation
Funções públicas
SparseConditionalAccumulator
SparseConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape )
SparseConditionalAccumulator
SparseConditionalAccumulator( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs )
nó
::tensorflow::Node * node() const
operador :: tensorflow :: Input
operator::tensorflow::Input() const
operador :: tensorflow :: Saída
operator::tensorflow::Output() const
Funções estáticas públicas
Recipiente
Attrs Container( StringPiece x )
ReductionType
Attrs ReductionType( StringPiece x )
SharedName
Attrs SharedName( StringPiece x )