#include <parsing_ops.h>
Optional attribute setters for ParseSingleSequenceExample.
Public attributes | |
---|---|
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. |
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::context_dense_shapes_ = {}
DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::context_sparse_types_ = {}
gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_dense_shapes_ = {}
DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_dense_types_ = {}
DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_sparse_types_ = {}
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::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 []
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::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 []
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::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 []
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseTypes( const DataTypeSlice & x )
Defaults to [].
TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSingleSequenceExample::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 []
© 2018 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/api_docs/cc/struct/tensorflow/ops/parse-single-sequence-example/attrs.html