fluxo tensor:: ops:: SerializeManySparse
#include <sparse_ops.h> Serialize um N -minibatch SparseTensor em um objeto Tensor [N, 3] .
Resumo
 O SparseTensor deve ter classificação R maior que 1 e a primeira dimensão é tratada como a dimensão do minilote. Os elementos do SparseTensor devem ser classificados em ordem crescente desta primeira dimensão. Os objetos SparseTensor serializados que entram em cada linha de serialized_sparse terão classificação R-1 .
 O tamanho do minilote N é extraído de sparse_shape[0] .
Argumentos:
- escopo: um objeto Escopo
-  índices_esparsos: 2-D. Os indicesdo minibatchSparseTensor.
-  valores_esparsos: 1-D. Os valuesdo miniloteSparseTensor.
-  forma_esparsa: 1-D. A shapedo miniloteSparseTensor.
 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 | |
|---|---|
| SerializeManySparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape) | |
| SerializeManySparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape, const SerializeManySparse::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:: SerializeManySparse:: Attrs | Configuradores de atributos opcionais para SerializeManySparse . | 
Atributos públicos
operação
Operation operation
serializado_sparse
::tensorflow::Output serialized_sparse
Funções públicas
SerializeManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerializeManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeManySparse::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 )