tensorflow :: ops :: SerializeSparse
#include <sparse_ops.h>
Serialisasi SparseTensor
menjadi objek Tensor
[3]
.
Ringkasan
Argumen:
- scope: Objek Scope
- sparse_indices: 2-D.
indices
SparseTensor
. - sparse_values: 1-D.
values
SparseTensor
. - sparse_shape: 1-D.
shape
SparseTensor
.
Atribut opsional (lihat Attrs
):
- out_type: The
dtype
penggunaan untuk serialisasi; jenis yang didukung adalahstring
(default) danvariant
.
Pengembalian:
-
Output
: Tensor serialized_sparse.
Pembuat dan Penghancur | |
---|---|
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) |
Structs | |
---|---|
tensorflow :: ops :: SerializeSparse :: Attrs | Penyetel atribut opsional untuk SerializeSparse . |
Atribut publik
operasi
Operation operation
serialized_sparse
::tensorflow::Output serialized_sparse
Fungsi publik
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 )
simpul
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
OutType
Attrs OutType( DataType x )