tensorflow :: ops :: SerializeSparse
#include <sparse_ops.h> Serialize um SparseTensor em um [3] objeto Tensor .
Resumo
Argumentos:
- escopo: um objeto Scope
- sparse_indices: 2-D. Os
indicesdoSparseTensor. - sparse_values: 1-D. Os
valuesdoSparseTensor. - sparse_shape: 1-D. A
shapedoSparseTensor.
Atributos opcionais (consulte Attrs ):
- out_type: o
dtypea ser usado para serialização; os tipos suportados sãostring(padrão) evariant.
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) | |
Structs | |
|---|---|
| tensorflow :: ops :: SerializeSparse :: Attrs | Configuradores de atributos opcionais para SerializeSparse . |
Atributos públicos
Operação
Operation operation
serialized_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 )
nó
::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 )