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
indicesduSparseTensor. - sparse_values : 1-D. Les
valuesduSparseTensor. - sparse_shape : 1-D. La
shapeduSparseTensor.
Attributs optionnels (voir Attrs ) :
- out_type : Le
dtypeà utiliser pour la sérialisation ; les types pris en charge sontstring(par défaut) etvariant.
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 )