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
indicesdelloSparseTensor. - valori_sparsi: 1-D. I
valuesdelloSparseTensor. - forma_sparsa: 1-D. La
shapedelloSparseTensor.
Attributi facoltativi (vedi Attrs ):
- out_type: il
dtypeda utilizzare per la serializzazione; i tipi supportati sonostring(predefinito) evariant.
Resi:
-
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
serializzato_sparso
::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 )