تينسورفلو :: العمليات :: مثال على ParseSingleSequence :: أترس
#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 ؛ أشكال البيانات في كل FeatureList الواردة في 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 ؛ أنواع البيانات من البيانات في كل قائمة FeatureList الواردة في feature_list_sparse_keys. |
السمات العامة
أشكال_ كثيفة_السياق_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::context_dense_shapes_ = {}
أنواع_السياق_العرفي_
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_ = {}
الوظائف العامة
السياق كثيفة الأشكال
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).
افتراضات على []
FeatureListDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
قائمة بأشكال Nfeature_list_dense ؛ أشكال البيانات في كل FeatureList الواردة في feature_list_dense_keys.
يجب أن يتساوى شكل كل ميزة في FeatureList المطابقة لـ feature_list_dense_key [j] دائمًا مع feature_list_dense_shapes [j] .NumEntries ().
افتراضات على []
FeatureListDenseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseTypes( const DataTypeSlice & x )
افتراضات إلى [].
FeatureListSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListSparseTypes( const DataTypeSlice & x )
قائمة أنواع Nfeature_list_sparse ؛ أنواع البيانات من البيانات في كل قائمة FeatureList الواردة في feature_list_sparse_keys.
حاليا ParseSingleSequenceExample يدعم DT_FLOAT (FloatList)، DT_INT64 (Int64List)، وDT_STRING (BytesList).
افتراضات على []
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.