tensorflow::ops::ParseSequenceExample::Attrs
#include <parsing_ops.h>
Optional attribute setters for ParseSequenceExample.
Summary
Public attributes | |
---|---|
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 |
Public functions | |
---|---|
ContextDenseShapes(const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs A list of Ncontext_dense shapes; the shapes of data in each context Feature given in context_dense_keys. |
ContextSparseTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs A list of Ncontext_sparse types; the data types of data in each context Feature given in context_sparse_keys. |
FeatureListDenseShapes(const gtl::ArraySlice< PartialTensorShape > & x) | TF_MUST_USE_RESULT Attrs A list of Nfeature_list_dense shapes; the shapes of data in each FeatureList given in feature_list_dense_keys. |
FeatureListDenseTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs Defaults to []. |
FeatureListSparseTypes(const DataTypeSlice & x) | TF_MUST_USE_RESULT Attrs A list of Nfeature_list_sparse types; the data types of data in each FeatureList given in feature_list_sparse_keys. |
NcontextDense(int64 x) | TF_MUST_USE_RESULT Attrs Defaults to 0. |
NcontextSparse(int64 x) | TF_MUST_USE_RESULT Attrs Defaults to 0. |
NfeatureListDense(int64 x) | TF_MUST_USE_RESULT Attrs Defaults to 0. |
NfeatureListSparse(int64 x) | TF_MUST_USE_RESULT Attrs Defaults to 0. |
Public attributes
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_ = {}
Public functions
ContextDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::ContextDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
A list of Ncontext_dense shapes; the shapes of data in each context Feature given in context_dense_keys.
The number of elements in the Feature corresponding to context_dense_key[j] must always equal context_dense_shapes[j].NumEntries(). The shape of context_dense_values[j] will match context_dense_shapes[j].
Defaults to []
ContextSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::ContextSparseTypes( const DataTypeSlice & x )
A list of Ncontext_sparse types; the data types of data in each context Feature given in context_sparse_keys.
Currently the ParseSingleSequenceExample supports DT_FLOAT (FloatList), DT_INT64 (Int64List), and DT_STRING (BytesList).
Defaults to []
FeatureListDenseShapes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListDenseShapes( const gtl::ArraySlice< PartialTensorShape > & x )
A list of Nfeature_list_dense shapes; the shapes of data in each FeatureList given in feature_list_dense_keys.
The shape of each Feature in the FeatureList corresponding to feature_list_dense_key[j] must always equal feature_list_dense_shapes[j].NumEntries().
Defaults to []
FeatureListDenseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListDenseTypes( const DataTypeSlice & x )
Defaults to [].
FeatureListSparseTypes
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::FeatureListSparseTypes( const DataTypeSlice & x )
A list of Nfeature_list_sparse types; the data types of data in each FeatureList given in feature_list_sparse_keys.
Currently the ParseSingleSequenceExample supports DT_FLOAT (FloatList), DT_INT64 (Int64List), and DT_STRING (BytesList).
Defaults to []
NcontextDense
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NcontextDense( int64 x )
Defaults to 0.
NcontextSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NcontextSparse( int64 x )
Defaults to 0.
NfeatureListDense
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NfeatureListDense( int64 x )
Defaults to 0.
NfeatureListSparse
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExample::Attrs::NfeatureListSparse( int64 x )
Defaults to 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/attrs