tensorflow:: ops:: SerializeManySparse

#include <sparse_ops.h>

قم بتحويل SparseTensor من نوع N -minibatch إلى كائن Tensor من النوع [N, 3] .

ملخص

يجب أن يكون SparseTensor رتبة R أكبر من 1، ويُعامل البُعد الأول كبُعد الدُفعة المصغّرة. يجب فرز عناصر SparseTensor بترتيب تصاعدي لهذا البُعد الأول. ستكون رتبة كائنات SparseTensor المُسلسلة التي تدخل في كل صف من serialized_sparse هي R-1 .

يتم استخراج حجم الدفعة المصغرة N من sparse_shape[0] .

الحجج:

  • النطاق: كائن النطاق
  • sparse_indices: 2-D. indices SparseTensor المصغرة.
  • sparse_values: 1-D. values SparseTensor المصغرة.
  • sparse_shape: 1-D. shape SparseTensor للدفعة المصغرة.

السمات الاختيارية (انظر Attrs ):

  • نوع الإخراج: dtype المراد استخدامه للتسلسل؛ الأنواع المدعومة هي string (الافتراضي) variant .

المرتجعات:

  • Output : الموتر المتفرق المتسلسل.

البناة والمدمرون

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)

السمات العامة

operation
serialized_sparse

الوظائف العامة

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

الدوال الثابتة العامة

OutType (DataType x)

الهياكل

tensorflow:: ops:: SerializeManySparse:: Attrs

مُعدِّلات السمات الاختيارية لـ SerializeManySparse .

السمات العامة

عملية

Operation operation

serialized_sparse

::tensorflow::Output serialized_sparse

الوظائف العامة

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
)

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

نوع الإخراج

Attrs OutType(
  DataType x
)