tensorflow::ops::ParseSingleSequenceExample::Attrs
#include <parsing_ops.h>Các thiết lập thuộc tính tùy chọn cho ParseSingleSequenceExample .
Bản tóm tắt
Thuộc tính công khai | |
|---|---|
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 |
Chức năng công cộng | |
|---|---|
ContextDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs Một danh sách các hình dạng Ncontext_dense; các hình dạng dữ liệu trong mỗi ngữ cảnh Feature được cung cấp trong context_dense_keys. |
ContextSparseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Một danh sách các kiểu Ncontext_sparse; kiểu dữ liệu của dữ liệu trong mỗi ngữ cảnh Feature được cung cấp trong context_sparse_keys. |
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs Một danh sách các hình dạng Nfeature_list_dense; các hình dạng dữ liệu trong mỗi FeatureList được cung cấp trong feature_list_dense_keys. |
FeatureListDenseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Mặc định là []. |
FeatureListSparseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Một danh sách gồm Nfeature_list_sparse types; các kiểu dữ liệu của dữ liệu trong mỗi FeatureList được cung cấp trong feature_list_sparse_keys. |
Thuộc tính công khai
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_ = {}
Chức năng công cộng
ContextDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::ContextDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
Một danh sách các hình dạng Ncontext_dense; các hình dạng dữ liệu trong mỗi ngữ cảnh Feature được cung cấp trong context_dense_keys.
Số lượng phần tử trong Feature tương ứng với context_dense_key[j] phải luôn bằng context_dense_shapes[j].NumEntries(). Hình dạng của context_dense_values[j] sẽ khớp với context_dense_shapes[j].
Mặc định là []
ContextSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::ContextSparseTypes( const DataTypeSlice & x )
Một danh sách các kiểu Ncontext_sparse; kiểu dữ liệu của dữ liệu trong mỗi ngữ cảnh Feature được cung cấp trong context_sparse_keys.
Hiện tại, ParseSingleSequenceExample hỗ trợ các kiểu dữ liệu DT_FLOAT (FloatList), DT_INT64 (Int64List) và DT_STRING (BytesList).
Mặc định là []
Danh sách tính năng Hình dạng dày đặc
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
Một danh sách các hình dạng Nfeature_list_dense; các hình dạng dữ liệu trong mỗi FeatureList được cung cấp trong feature_list_dense_keys.
Hình dạng của mỗi Đặc trưng trong Danh sách Đặc trưng tương ứng với feature_list_dense_key[j] phải luôn bằng feature_list_dense_shapes[j].NumEntries().
Mặc định là []
FeatureListDenseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseTypes( const DataTypeSlice & x )
Mặc định là [].
FeatureListSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListSparseTypes( const DataTypeSlice & x )
Một danh sách gồm Nfeature_list_sparse types; các kiểu dữ liệu của dữ liệu trong mỗi FeatureList được cung cấp trong feature_list_sparse_keys.
Hiện tại, ParseSingleSequenceExample hỗ trợ các kiểu dữ liệu DT_FLOAT (FloatList), DT_INT64 (Int64List) và DT_STRING (BytesList).
Mặc định là []