Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: SerializeManySparse

#include <sparse_ops.h>

Bir N minibatch SparseTensor bir [N, 3] Tensor nesnesine seri hale SparseTensor .

Özet

SparseTensor , 1'den büyük R derecesine sahip olmalıdır ve ilk boyut, mini seri boyutu olarak değerlendirilir. SparseTensor öğeleri, bu ilk boyuta göre artan sırada sıralanmalıdır. Tefrika SparseTensor her satırda girmeden nesnelerin serialized_sparse rütbe olacak R-1 .

Mini parti boyutu N , sparse_shape[0] çıkarılır.

Argümanlar:

  • kapsam: Bir Scope nesnesi
  • seyrek_indices: 2-D. Minibatch SparseTensor indices .
  • seyrek_değerler: 1-D. Minibatch SparseTensor values .
  • seyrek_shape: 1-D. Minibatch SparseTensor shape .

İsteğe bağlı özellikler (bkz. Attrs ):

  • out_type: dtype için kullanılacak dtype ; desteklenen türler string (varsayılan) ve variant .

İadeler:

  • Output : serialized_sparse 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

Genel statik işlevler

OutType (DataType x)

Yapılar

tensorflow :: ops :: SerializeManySparse :: Attrs

SerializeManySparse için isteğe bağlı öznitelik belirleyiciler.

Genel özellikler

operasyon

Operation operation

serialized_sparse

::tensorflow::Output serialized_sparse

Kamusal işlevler

SerializeManySparse

 SerializeManySparse(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input sparse_indices,
  ::tensorflow::Input sparse_values,
  ::tensorflow::Input sparse_shape
)

SerializeManySparse

 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 

operator :: tensorflow :: Girdi

 operator::tensorflow::Input() const 

operator :: tensorflow :: Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

OutType

Attrs OutType(
  DataType x
)