tensorflow::ops::SerializeManySparse
#include <sparse_ops.h> N mini grup halindeki SparseTensor [N, 3] boyutunda bir Tensor nesnesine serileştirin.
Özet
SparseTensor rankı R 1'den büyük olması gerekir ve ilk boyut minibatch boyutu olarak kabul edilir. SparseTensor elemanları bu ilk boyutun artan sırasına göre sıralanmalıdır. serialized_sparse her satırına giren serileştirilmiş SparseTensor nesnelerinin rankı R-1 olacaktır.
Minibatch boyutu N , sparse_shape[0] 'dan çıkarılır.
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- sparse_indices: 2 boyutlu. Mini grup
SparseTensorindices. - seyrek_değerler: 1 boyutlu. Mini grup
SparseTensorvalues. - sparse_shape: 1 boyutlu. Mini grup
SparseTensorshape.
İsteğe bağlı özellikler (bkz. Attrs ):
- out_type: Serileştirme için kullanılacak
dtype; desteklenen türlerstring(varsayılan) vevariant.
İadeler:
-
Output: Serileştirilmiş seyrek tensör.
Yapıcılar ve Yıkıcılar | |
|---|---|
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) |
Genel özellikler | |
|---|---|
operation | |
serialized_sparse | |
Kamusal işlevler | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Herkese açık statik fonksiyonlar | |
|---|---|
OutType (DataType x) | |
Yapılar | |
|---|---|
| tensorflow::ops::SerializeManySparse::Attrs | SerializeManySparse için isteğe bağlı öznitelik ayarlayıcıları. |
Genel özellikler
operasyon
Operation operation
serileştirilmiş seyrek
::tensorflow::Output serialized_sparse
Kamusal işlevler
SerileştirÇokSeyrek
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerileştirÇokSeyrek
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeManySparse::Attrs & attrs )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Herkese açık statik fonksiyonlar
ÇıkışTipi
Attrs OutType( DataType x )