تينسورفلو :: العمليات :: مسلسلات
#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 )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.