tensorflow::ops::ParseSingleSequenceExample::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; รูปร่างของข้อมูลในแต่ละ 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_ = {}
รูปทรงหนาแน่นในรายการคุณลักษณะ
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_dense_shapes_ = {}ประเภทรายการคุณสมบัติหนาแน่น_
DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_dense_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)
ค่าเริ่มต้นคือ []