fluxo tensor:: ops:: Acumulador Condicional Esparso

#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 tenham sido acumulados gradientes suficientes. Extrair a média redefine automaticamente o agregado para 0 e incrementa o global_step registrado pelo acumulador.

Argumentos:

  • escopo: um objeto Escopo
  • dtype: O tipo do valor que está sendo acumulado.
  • forma: a forma dos valores.

Atributos opcionais (veja Attrs ):

  • container: Se não estiver vazio, este acumulador é colocado no container determinado. Caso contrário, um contêiner padrão será usado.
  • shared_name: se não estiver vazio, este acumulador será compartilhado sob o nome fornecido em várias sessões.

Retorna:

  • Output : O identificador do 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)

Estruturas

tensorflow:: ops:: SparseConditionalAccumulator:: Attrs

Configuradores de atributos opcionais para SparseConditionalAccumulator .

Atributos públicos

lidar

::tensorflow::Output handle

Operação

Operation operation

Funções públicas

Acumulador Condicional Esparso

 SparseConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape
)

Acumulador Condicional Esparso

 SparseConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  const SparseConditionalAccumulator::Attrs & attrs
)

::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
)

Tipo de redução

Attrs ReductionType(
  StringPiece x
)

Nome Compartilhado

Attrs SharedName(
  StringPiece x
)