tensorflow::ops::ParseSequenceExampleV2::Attrs
#include <parsing_ops.h>
Дополнительные параметры настроек для ParseSequenceExampleV2.
Краткое описание
| Публичные атрибуты | |
|---|---|
Ncontext_sparse_ = 0 | int64 |
Nfeature_list_dense_ = 0 | int64 |
Nfeature_list_sparse_ = 0 | int64 |
context_dense_shapes_ = {} | gtl::ArraySlice< PartialTensorShape > |
context_ragged_split_types_ = {} | DataTypeSlice |
context_ragged_value_types_ = {} | DataTypeSlice |
context_sparse_types_ = {} | DataTypeSlice |
feature_list_dense_shapes_ = {} | gtl::ArraySlice< PartialTensorShape > |
feature_list_dense_types_ = {} | DataTypeSlice |
feature_list_ragged_split_types_ = {} | DataTypeSlice |
feature_list_ragged_value_types_ = {} | DataTypeSlice |
feature_list_sparse_types_ = {} | DataTypeSlice |
| Публичные функции | |
|---|---|
ContextDenseShapes(const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs Список форм Ncontext_dense; формы данных в каждом контекстном элементе, заданном в context_dense_keys. |
ContextRaggedSplitTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Типы row_split для RaggedTensor контекстных признаков. |
ContextRaggedValueTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Типы значений RaggedTensor для контекстных признаков. |
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; формы данных в каждом списке признаков, заданном в feature_list_dense_keys. |
FeatureListDenseTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs По умолчанию []. |
FeatureListRaggedSplitTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Типы row_split для разрозненных признаков FeatureList. |
FeatureListRaggedValueTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Типы значений RaggedTensor для разрозненных признаков FeatureList. |
FeatureListSparseTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Список типов Nfeature_list_sparse; типы данных в каждом списке признаков, заданном в feature_list_sparse_keys. |
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_sparse_
int64 tensorflow::ops::ParseSequenceExampleV2::Attrs::Ncontext_sparse_ = 0
Nfeature_list_dense_
int64 tensorflow::ops::ParseSequenceExampleV2::Attrs::Nfeature_list_dense_ = 0
Nfeature_list_sparse_
int64 tensorflow::ops::ParseSequenceExampleV2::Attrs::Nfeature_list_sparse_ = 0
context_dense_shapes_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExampleV2::Attrs::context_dense_shapes_ = {} context_ragged_split_types_
DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::context_ragged_split_types_ = {} context_ragged_value_types_
DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::context_ragged_value_types_ = {} context_sparse_types_
DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::context_sparse_types_ = {} feature_list_dense_shapes_
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_dense_shapes_ = {} feature_list_dense_types_
DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_dense_types_ = {} feature_list_ragged_split_types_
DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_ragged_split_types_ = {} feature_list_ragged_value_types_
DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_ragged_value_types_ = {} feature_list_sparse_types_
DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_sparse_types_ = {} Публичные функции
ContextDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::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].
По умолчанию []
ContextRaggedSplitTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::ContextRaggedSplitTypes( const DataTypeSlice & x )
Типы row_split для разрозненных контекстных признаков.
По умолчанию []
ContextRaggedValueTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::ContextRaggedValueTypes( const DataTypeSlice & x )
Типы значений RaggedTensor для контекстных признаков.
По умолчанию []
ContextSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::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::ParseSequenceExampleV2::Attrs::FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
Список форм Nfeature_list_dense; формы данных в каждом списке признаков, заданном в feature_list_dense_keys.
Форма каждого признака в списке признаков, соответствующем feature_list_dense_key[j], всегда должна быть равна feature_list_dense_shapes[j].NumEntries().
По умолчанию []
FeatureListDenseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::FeatureListDenseTypes( const DataTypeSlice & x )
По умолчанию [].
FeatureListRaggedSplitTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::FeatureListRaggedSplitTypes( const DataTypeSlice & x )
Типы row_split для разрозненных признаков FeatureList.
По умолчанию []
FeatureListRaggedValueTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::FeatureListRaggedValueTypes( const DataTypeSlice & x )
Типы значений RaggedTensor для разрозненных признаков FeatureList.
По умолчанию []
FeatureListSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::FeatureListSparseTypes( const DataTypeSlice & x )
Список типов Nfeature_list_sparse; типы данных в каждом списке признаков, заданном в feature_list_sparse_keys.
В настоящее время ParseSingleSequenceExample поддерживает DT_FLOAT (FloatList), DT_INT64 (Int64List) и DT_STRING (BytesList).
По умолчанию []
NcontextSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::NcontextSparse( int64 x )
По умолчанию 0.
NfeatureListDense
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::NfeatureListDense( int64 x )
По умолчанию 0.
NfeatureListSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::NfeatureListSparse( int64 x )
По умолчанию 0.
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/parse-sequence-example-v2/attrs