تدفق التوتر:: العمليات:: تسلسل متفرق
#include <sparse_ops.h>
قم بإجراء تسلسل SparseTensor
في كائن Tensor
[3]
.
ملخص
الحجج:
- النطاق: كائن النطاق
- المؤشرات المتفرقة: 2-D.
indices
SparseTensor
. - القيم المتفرقة: 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 |
الهياكل | |
---|---|
Tensorflow:: ops:: SerializeSparse:: Attrs | محددات السمات الاختيارية لـ SerializeSparse . |
الصفات العامة
عملية
Operation operation
serialized_sparse
::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::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
نوع خارجي
Attrs OutType( DataType x )