टेंसरफ़्लो:: ऑप्स:: ParseSingleSequenceउदाहरण:: 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 आकृतियों की एक सूची; प्रत्येक फीचर सूची में डेटा के आकार फीचर_लिस्ट_डेंस_कीज़ में दिए गए हैं।
FeatureListDenseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
[] पर डिफ़ॉल्ट।
FeatureListSparseTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
Nfeature_list_sparse प्रकारों की सूची; प्रत्येक फीचर सूची में डेटा के डेटा प्रकार फीचर_लिस्ट_स्पार्स_कीज़ में दिए गए हैं।

सार्वजनिक गुण

प्रसंग_घने_आकार_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::context_dense_shapes_ = {}

context_sparse_types_

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] से मेल खाएगा।

डिफ़ॉल्ट रूप से []

प्रसंगSparseTypes

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 (बाइट्सलिस्ट) का समर्थन करता है।

डिफ़ॉल्ट रूप से []

फ़ीचरलिस्टडेंसशेप्स

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseShapes(
  const gtl::ArraySlice< PartialTensorShape > & x
)

Nfeature_list_dense आकृतियों की एक सूची; प्रत्येक फीचर सूची में डेटा के आकार फीचर_लिस्ट_डेंस_कीज़ में दिए गए हैं।

फीचर सूची में प्रत्येक फीचर का आकार फीचर_लिस्ट_डेंस_की[जे] के अनुरूप हमेशा फीचर_लिस्ट_डेंस_शेप्स[जे].न्यूएंट्रीज़() के बराबर होना चाहिए।

डिफ़ॉल्ट रूप से []

फ़ीचरलिस्टडेंसटाइप्स

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseTypes(
  const DataTypeSlice & x
)

[] पर डिफ़ॉल्ट।

फ़ीचरलिस्टस्पार्सटाइप्स

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListSparseTypes(
  const DataTypeSlice & x
)

Nfeature_list_sparse प्रकारों की सूची; प्रत्येक फीचर सूची में डेटा के डेटा प्रकार फीचर_लिस्ट_स्पार्स_कीज़ में दिए गए हैं।

वर्तमान में ParseSingleSequenceExample DT_FLOAT (FloatList), DT_INT64 (Int64List), और DT_STRING (बाइट्सलिस्ट) का समर्थन करता है।

डिफ़ॉल्ट रूप से []