przepływ tensorowy:: ops:: SerializujManySparse
#include <sparse_ops.h> Serializuj N -minibatch SparseTensor do obiektu Tensor [N, 3] .
Streszczenie
 SparseTensor musi mieć rangę R większą niż 1, a pierwszy wymiar jest traktowany jako wymiar minipartii. Elementy SparseTensor muszą być posortowane w kolejności rosnącej pierwszego wymiaru. Serializowane obiekty SparseTensor przechodzące do każdego wiersza serialized_sparse będą miały rangę R-1 .
 Rozmiar minipartii N jest wyodrębniany z sparse_shape[0] .
Argumenty:
- zakres: Obiekt Scope
-  sparse_indices: 2-D. indicesminibatchaSparseTensor.
-  wartości_sparse: 1-D. valuesminipartiiSparseTensor.
-  sparse_shape: 1-D. shapeminipartiiSparseTensor.
 Opcjonalne atrybuty (patrz Attrs ):
-  out_type: dtypektóry ma być używany do serializacji; obsługiwane typy tostring(domyślnie) ivariant.
Zwroty:
-  Output: tensor serialized_sparse.
| Konstruktory i destruktory | |
|---|---|
| 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) | 
| Atrybuty publiczne | |
|---|---|
| operation | |
| serialized_sparse | |
| Funkcje publiczne | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| Publiczne funkcje statyczne | |
|---|---|
| OutType (DataType x) | |
| Struktury | |
|---|---|
| tensorflow:: ops:: SerializeManySparse:: Attrs | Opcjonalne moduły ustawiające atrybuty dla SerializeManySparse . | 
Atrybuty publiczne
działanie
Operation operation
serializowany_sparse
::tensorflow::Output serialized_sparse
Funkcje publiczne
SerializujManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerializujManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeManySparse::Attrs & attrs )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Wejście
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const
Publiczne funkcje statyczne
Typ zewnętrzny
Attrs OutType( DataType x )