tensorflow::ops::ParseSequenceExample::Attrs
#include <parsing_ops.h>Дополнительные параметры установки атрибутов для ParseSequenceExample .
Краткое содержание
Общедоступные атрибуты | |
|---|---|
Ncontext_dense_ = 0 | int64 |
Ncontext_sparse_ = 0 | int64 |
Nfeature_list_dense_ = 0 | int64 |
Nfeature_list_sparse_ = 0 | int64 |
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 Список из N форм Ncontext_dense; формы данных в каждом контексте Feature, заданном в context_dense_keys. |
ContextSparseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Список N типов разреженных контекстов; типы данных в каждом контексте Feature, заданные в context_sparse_keys. |
FeatureListDenseShapes (const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs Список из N форм FeatureList_dense; формы данных в каждом FeatureList указаны в feature_list_dense_keys. |
FeatureListDenseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs По умолчанию используется []. |
FeatureListSparseTypes (const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Список из N типов данных FeatureList_sparse; типы данных в каждом FeatureList указаны в feature_list_sparse_keys. |
NcontextDense (int64 x) | TF_MUST_USE_RESULT Attrs Значение по умолчанию — 0. |
NcontextSparse (int64 x) | TF_MUST_USE_RESULT Attrs Значение по умолчанию — 0. |
NfeatureListDense (int64 x) | TF_MUST_USE_RESULT Attrs Значение по умолчанию — 0. |
NfeatureListSparse (int64 x) | TF_MUST_USE_RESULT Attrs Значение по умолчанию — 0. |
Общедоступные атрибуты
Ncontext_dense_
int64 tensorflow::ops::ParseSequenceExample::Attrs::Ncontext_dense_ = 0
Ncontext_sparse_
int64 tensorflow::ops::ParseSequenceExample::Attrs::Ncontext_sparse_ = 0
Nfeature_list_dense_
int64 tensorflow::ops::ParseSequenceExample::Attrs::Nfeature_list_dense_ = 0
Nfeature_list_sparse_
int64 tensorflow::ops::ParseSequenceExample::Attrs::Nfeature_list_sparse_ = 0
context_dense_shapes_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExample::Attrs::context_dense_shapes_ = {}context_sparse_types_
DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::context_sparse_types_ = {}
feature_list_dense_shapes_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExample::Attrs::feature_list_dense_shapes_ = {}feature_list_dense_types_
DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::feature_list_dense_types_ = {}
feature_list_sparse_types_
DataTypeSlice tensorflow::ops::ParseSequenceExample::Attrs::feature_list_sparse_types_ = {}
Общественные функции
ContextDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::ContextDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
Список из N форм Ncontext_dense; формы данных в каждом контексте Feature, заданном в context_dense_keys.
Количество элементов в Feature, соответствующих context_dense_key[j], всегда должно равняться context_dense_shapes[j].NumEntries(). Форма context_dense_values[j] будет соответствовать context_dense_shapes[j].
По умолчанию используется []
ContextSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::ContextSparseTypes( const DataTypeSlice & x )
Список N типов разреженных контекстов; типы данных в каждом контексте Feature, заданные в context_sparse_keys.
В настоящее время ParseSingleSequenceExample поддерживает DT_FLOAT (FloatList), DT_INT64 (Int64List) и DT_STRING (BytesList).
По умолчанию используется []
FeatureListDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
Список из N форм FeatureList_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::ParseSequenceExample::Attrs::FeatureListDenseTypes( const DataTypeSlice & x )
По умолчанию используется [].
FeatureListSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListSparseTypes( const DataTypeSlice & x )
Список из N типов данных FeatureList_sparse; типы данных в каждом FeatureList указаны в feature_list_sparse_keys.
В настоящее время ParseSingleSequenceExample поддерживает DT_FLOAT (FloatList), DT_INT64 (Int64List) и DT_STRING (BytesList).
По умолчанию используется []
NcontextDense
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NcontextDense( int64 x )
Значение по умолчанию — 0.
NcontextSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NcontextSparse( int64 x )
Значение по умолчанию — 0.
NfeatureListDense
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NfeatureListDense( int64 x )
Значение по умолчанию — 0.
NfeatureListSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NfeatureListSparse( int64 x )
Значение по умолчанию — 0.