tensorflow::ops::SerializeSparse

#include <sparse_ops.h>

Sérialiser un SparseTensor en un objet Tensor [3] .

Résumé

Arguments :

  • portée : un objet Scope
  • sparse_indices : 2D. Les indices du SparseTensor .
  • sparse_values : 1-D. Les values du SparseTensor .
  • sparse_shape : 1-D. La shape du SparseTensor .

Attributs optionnels (voir Attrs ) :

  • out_type : Le dtype à utiliser pour la sérialisation ; les types pris en charge sont string (par défaut) et variant .

Retours :

  • Output : Le tenseur sérialisé_sparse.

Constructeurs et destructeurs

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)

attributs publics

operation
serialized_sparse

fonctions publiques

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

fonctions statiques publiques

OutType (DataType x)

Structures

tensorflow::ops::SerializeSparse::Attrs

Définiteurs d'attributs optionnels pour SerializeSparse .

attributs publics

opération

Operation operation

sérialisé_parcimonieux

::tensorflow::Output serialized_sparse

fonctions publiques

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
)

nœud

::tensorflow::Node * node() const 

opérateur::tensorflow::Entrée

 operator::tensorflow::Input() const 

opérateur::tensorflow::Sortie

 operator::tensorflow::Output() const 

fonctions statiques publiques

Type de sortie

Attrs OutType(
  DataType x
)