tensoreflusso:: ops:: SerializeSparse

#include <sparse_ops.h>

Serializza uno SparseTensor in un oggetto Tensor [3] .

Riepilogo

Argomenti:

  • scope: un oggetto Scope
  • sparse_indices: 2-D. Gli indices dello SparseTensor .
  • valori_sparsi: 1-D. I values dello SparseTensor .
  • forma_sparsa: 1-D. La shape dello SparseTensor .

Attributi facoltativi (vedi Attrs ):

  • out_type: il dtype da utilizzare per la serializzazione; i tipi supportati sono string (predefinito) e variant .

Ritorna:

  • Output : il tensore serialized_sparse.

Costruttori e distruttori

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)

Attributi pubblici

operation
serialized_sparse

Funzioni pubbliche

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

Funzioni pubbliche statiche

OutType (DataType x)

Strutture

tensorflow:: ops:: SerializeSparse:: Attrs

Setter di attributi facoltativi per SerializeSparse .

Attributi pubblici

operazione

Operation operation

serialized_sparse

::tensorflow::Output serialized_sparse

Funzioni pubbliche

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
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensorflow::Output

 operator::tensorflow::Output() const 

Funzioni pubbliche statiche

OutType

Attrs OutType(
  DataType x
)