fluxo tensor:: ops:: SerializeSparse
#include <sparse_ops.h> Serialize um SparseTensor em um objeto Tensor [3] .
Resumo
Argumentos:
- escopo: um objeto Escopo
- índices_esparsos: 2-D. Os
indicesdoSparseTensor. - valores_esparsos: 1-D. Os
valuesdoSparseTensor. - forma_esparsa: 1-D. A
shapedoSparseTensor.
Atributos opcionais (veja 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) | |
Estruturas | |
|---|---|
| tensorflow:: ops:: SerializeSparse:: Attrs | Configuradores de atributos opcionais para SerializeSparse . |
Atributos públicos
operação
Operation operation
serializado_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 )