fluxo tensor:: ops:: SerializeSparse

#include <sparse_ops.h>

Serialize um SparseTensor em um objeto Tensor [3] .

Resumo

Argumentos:

  • escopo: um objeto Escopo
  • índices_esparsos: 2-D. Os indices do SparseTensor .
  • valores_esparsos: 1-D. Os values do SparseTensor .
  • forma_esparsa: 1-D. A shape do SparseTensor .

Atributos opcionais (veja Attrs ):

  • out_type: O dtype a ser usado para serialização; os tipos suportados são string (padrão) e variant .

Retorna:

  • Output : o tensor serialized_sparse.

Construtores e Destruidores

SerializeSparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape)
SerializeSparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape, const SerializeSparse::Attrs & attrs)

Atributos públicos

operation
serialized_sparse

Funções públicas

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Funções estáticas públicas

OutType (DataType x)

Estruturas

tensorflow:: ops:: SerializeSparse:: Attrs

Configuradores de atributos opcionais para SerializeSparse .

Atributos públicos

Operação

Operation operation

serializado_sparse

::tensorflow::Output serialized_sparse

Funções públicas

SerializeSparse

 SerializeSparse(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sparse_indices,
  ::tensorflow::Input sparse_values,
  ::tensorflow::Input sparse_shape
)

SerializeSparse

 SerializeSparse(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sparse_indices,
  ::tensorflow::Input sparse_values,
  ::tensorflow::Input sparse_shape,
  const SerializeSparse::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

OutType

Attrs OutType(
  DataType x
)