tensor akışı:: işlem:: SerileştirSparse
#include <sparse_ops.h> Bir SparseTensor [3] Tensor nesnesine serileştirin.
Özet
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- sparse_indeksler: 2-B.
SparseTensorindices. - seyrek_değerler: 1-D.
SparseTensorvalues. - seyrek_şekil: 1-B.
SparseTensorshape.
İsteğe bağlı özellikler (bkz. Attrs ):
- out_type: Serileştirme için kullanılacak
dtype; desteklenen türlerstring(varsayılan) vevariant.
İade:
-
Output: Serileştirilmiş_seyrek tensör.
Yapıcılar ve Yıkıcılar | |
|---|---|
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) |
Genel özellikler | |
|---|---|
operation | |
serialized_sparse | |
Kamu işlevleri | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Genel statik işlevler | |
|---|---|
OutType (DataType x) | |
Yapılar | |
|---|---|
| tensorflow:: ops:: SerializeSparse:: Öznitelikler | SerializeSparse için isteğe bağlı öznitelik ayarlayıcılar. |
Genel özellikler
operasyon
Operation operation
serileştirilmiş_sparse
::tensorflow::Output serialized_sparse
Kamu işlevleri
SerileştirSparse
SerializeSparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerileştirSparse
SerializeSparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeSparse::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
Çıkış Türü
Attrs OutType( DataType x )