نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: المسلسل

#include <sparse_ops.h>

تسلسل SparseTensor إلى [3] Tensor الكائن.

ملخص

الحجج:

  • النطاق: كائن النطاق
  • المؤشرات المتفرقة: 2-D. indices SparseTensor .
  • sparse_values: 1- د. values SparseTensor .
  • متفرق_شكل: 1-د. shape SparseTensor .

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

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

عائدات:

  • Output : موتر متسلسل.

البنائين والمدمرين

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)

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

operation
serialized_sparse

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

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

وظائف ثابتة عامة

OutType (DataType x)

الهياكل

tensorflow :: ops :: SerializeSparse :: Attrs

محددات السمات الاختيارية لـ SerializeSparse .

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

عملية

Operation operation

متسلسلة

::tensorflow::Output serialized_sparse

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

المسلسل

 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
)

العقدة

::tensorflow::Node * node() const 

المشغل :: tensorflow :: الإدخال

 operator::tensorflow::Input() const 

المشغل :: Tensorflow :: Output

 operator::tensorflow::Output() const 

وظائف ثابتة عامة

OutType

Attrs OutType(
  DataType x
)