تينسورفلو :: العمليات :: مسلسلات
#include <sparse_ops.h>
تسلسل N
-minibatch SparseTensor
إلى [N, 3]
Tensor
الكائن.
ملخص
يجب أن يكون لـ SparseTensor
رتبة R
أكبر من 1 ، ويتم التعامل مع البعد الأول على أنه بُعد minibatch. يجب فرز عناصر SparseTensor
بترتيب تصاعدي لهذا البعد الأول. SparseTensor
كائنات SparseTensor
المتسلسلة التي تدخل كل صف من SparseTensor
serialized_sparse
على رتبة R-1
.
يتم استخراج حجم minibatch N
من sparse_shape[0]
.
الحجج:
- النطاق: كائن النطاق
- المؤشرات المتفرقة: 2-D.
indices
minibatchSparseTensor
. - sparse_values: 1-د.
values
minibatchSparseTensor
. - متفرق_شكل: 1-د.
shape
minibatchSparseTensor
.
السمات الاختيارية (انظر Attrs
):
- out_type: نوع
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
متسلسلة
::tensorflow::Output serialized_sparse
الوظائف العامة
مسلسلات
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 )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
OutType
Attrs OutType( DataType x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2020-04-20 (حسب التوقيت العالمي المتفَّق عليه)