tensorflow::ops::SerializeSparse
#include <sparse_ops.h> Serialisasikan SparseTensor menjadi objek [3] Tensor .
Ringkasan
Argumen:
- Cakupan: Objek Cakupan
- sparse_indices: 2-D.
indicesdariSparseTensor. - sparse_values: 1-D.
valuesdariSparseTensor. - sparse_shape: 1-D.
shapeSparseTensor.
Atribut opsional (lihat Attrs ):
- out_type:
dtypeyang akan digunakan untuk serialisasi; tipe yang didukung adalahstring(default) danvariant.
Mengembalikan:
-
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 | Setter atribut opsional untuk SerializeSparse . |
Atribut publik
operasi
Operation operation
serialisasi_jarang
::tensorflow::Output serialized_sparse
Fungsi publik
SerialisasikanSparse
SerializeSparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerialisasikanSparse
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::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Fungsi statis publik
OutType
Attrs OutType( DataType x )