تدفق التوتر:: العمليات:: مثال على تسلسل التحليل المفرد:: Attrs
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
#include <parsing_ops.h>
محددات السمات الاختيارية لـ ParseSingleSequenceExample .
ملخص
الصفات العامة | |
---|---|
context_dense_shapes_ = {} | gtl::ArraySlice< PartialTensorShape > |
context_sparse_types_ = {} | DataTypeSlice |
feature_list_dense_shapes_ = {} | gtl::ArraySlice< PartialTensorShape > |
feature_list_dense_types_ = {} | DataTypeSlice |
feature_list_sparse_types_ = {} | DataTypeSlice |
الوظائف العامة | |
---|---|
ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs قائمة بأشكال Ncontext_dense؛ أشكال البيانات في كل ميزة سياقية موجودة في context_dense_keys. |
ContextSparseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs قائمة بأنواع Ncontext_sparse؛ أنواع البيانات في كل ميزة سياقية موجودة في context_sparse_keys. |
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs قائمة بالأشكال Nfeature_list_dense؛ أشكال البيانات في كل قائمة ميزات موجودة في feature_list_dense_keys. |
FeatureListDenseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs الإعدادات الافتراضية إلى []. |
FeatureListSparseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs قائمة بأنواع Nfeature_list_sparse؛ أنواع البيانات الموجودة في كل قائمة ميزات موجودة في feature_list_sparse_keys. |
الصفات العامة
context_dense_shapes_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::context_dense_shapes_ = {}
context_sparse_types_
DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::context_sparse_types_ = {}
feature_list_dense_shapes_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_dense_shapes_ = {}
feature_list_dense_types_
DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_dense_types_ = {}
feature_list_sparse_types_
DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_sparse_types_ = {}
الوظائف العامة
ContextDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::ContextDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
قائمة بأشكال Ncontext_dense؛ أشكال البيانات في كل ميزة سياقية موجودة في context_dense_keys.
يجب أن يكون عدد العناصر في الميزة المقابلة لـ context_dense_key[j] مساويًا دائمًا لـ context_dense_shapes[j].NumEntries(). سوف يتطابق شكل context_dense_values[j] مع context_dense_shapes[j].
الإعدادات الافتراضية إلى []
أنواع السياق
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::ContextSparseTypes( const DataTypeSlice & x )
قائمة بأنواع Ncontext_sparse؛ أنواع بيانات البيانات في كل ميزة سياقية مقدمة في context_sparse_keys.
يدعم ParseSingleSequenceExample حاليًا DT_FLOAT (FloatList)، وDT_INT64 (Int64List)، وDT_STRING (BytesList).
الإعدادات الافتراضية إلى []
قائمة المميزاتDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
قائمة بالأشكال Nfeature_list_dense؛ أشكال البيانات في كل قائمة ميزات موجودة في feature_list_dense_keys.
يجب أن يكون شكل كل ميزة في قائمة الميزات المقابلة لـ feature_list_dense_key[j] مساويًا دائمًا لـ feature_list_dense_shapes[j].NumEntries().
الإعدادات الافتراضية إلى []
FeaturesListDenseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseTypes( const DataTypeSlice & x )
الإعدادات الافتراضية إلى [].
قائمة الميزاتSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListSparseTypes( const DataTypeSlice & x )
قائمة بأنواع Nfeature_list_sparse؛ أنواع البيانات الموجودة في كل قائمة ميزات موجودة في feature_list_sparse_keys.
يدعم ParseSingleSequenceExample حاليًا DT_FLOAT (FloatList)، وDT_INT64 (Int64List)، وDT_STRING (BytesList).
الإعدادات الافتراضية إلى []