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Список форм 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; формы данных в каждом списке элементов, заданном в 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; типы данных в каждом списке элементов, заданном в 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 )
Список форм Ncontext_dense; формы данных в каждом контекстном элементе, заданном в context_dense_keys.
Число элементов в элементе, соответствующем 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 )
Список типов Ncontext_sparse; типы данных в каждом контекстном элементе, заданном в 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 )
Список форм 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::ParseSequenceExample::Attrs::FeatureListDenseTypes( const DataTypeSlice & x )
По умолчанию [].
FeatureListSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListSparseTypes( const DataTypeSlice & x )
Список типов Nfeature_list_sparse; типы данных в каждом списке элементов, заданном в 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.
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/cc/struct/tensorflow/ops/parse-sequence-example/attrs