aliran tensor:: operasi:: SerialisasiSparse
#include <sparse_ops.h> Buat serial SparseTensor menjadi objek Tensor [3] .
Ringkasan
Argumen:
- ruang lingkup: Objek Lingkup
-  sparse_indices: 2-D. indicesSparseTensor.
-  nilai_jarang: 1-D. valuesdariSparseTensor.
-  bentuk_jarang: 1-D. shapeSparseTensor.
 Atribut opsional (lihat Attrs ):
-  out_type: dtypeyang digunakan untuk serialisasi; tipe yang didukung adalahstring(default) danvariant.
Pengembalian:
-  Output: Tensor serialized_sparse.
| Konstruktor dan Destruktor | |
|---|---|
| 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) | 
| Atribut publik | |
|---|---|
| operation | |
| serialized_sparse | |
| Fungsi publik | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| Fungsi statis publik | |
|---|---|
| OutType (DataType x) | |
| Struktur | |
|---|---|
| tensorflow:: ops:: SerializeSparse:: Attrs | Penyetel atribut opsional untuk SerializeSparse . | 
Atribut publik
operasi
Operation operation
serial_sparse
::tensorflow::Output serialized_sparse
Fungsi publik
SerialisasiSparse
SerializeSparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerialisasiSparse
SerializeSparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeSparse::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Tipe Keluar
Attrs OutType( DataType x )