W3cubDocs

/TensorFlow C++

tensorflow::ops::ParseSingleSequenceExample::Attrs

#include <parsing_ops.h>

Optional attribute setters for ParseSingleSequenceExample.

Summary

Public attributes
context_dense_shapes_ = {}
gtl::ArraySlice< TensorShape >
context_sparse_types_ = {}
DataTypeSlice
feature_list_dense_shapes_ = {}
gtl::ArraySlice< TensorShape >
feature_list_dense_types_ = {}
DataTypeSlice
feature_list_sparse_types_ = {}
DataTypeSlice
Public functions
ContextDenseShapes(const gtl::ArraySlice< TensorShape > & x)
A list of Ncontext_dense shapes; the shapes of data in each context Feature given in context_dense_keys.
ContextSparseTypes(const DataTypeSlice & x)
A list of Ncontext_sparse types; the data types of data in each context Feature given in context_sparse_keys.
FeatureListDenseShapes(const gtl::ArraySlice< TensorShape > & x)
A list of Nfeature_list_dense shapes; the shapes of data in each FeatureList given in feature_list_dense_keys.
FeatureListDenseTypes(const DataTypeSlice & x)
Defaults to [].
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.

Public attributes

context_dense_shapes_

gtl::ArraySlice< TensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::context_dense_shapes_ = {}

context_sparse_types_

DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::context_sparse_types_ = {}

feature_list_dense_shapes_

gtl::ArraySlice< TensorShape > tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_dense_shapes_ = {}

feature_list_dense_types_

DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_dense_types_ = {}

feature_list_sparse_types_

DataTypeSlice tensorflow::ops::ParseSingleSequenceExample::Attrs::feature_list_sparse_types_ = {}

Public functions

ContextDenseShapes

Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::ContextDenseShapes(
  const gtl::ArraySlice< TensorShape > & 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

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 []

FeatureListDenseShapes

Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseShapes(
  const gtl::ArraySlice< TensorShape > & 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

Attrs tensorflow::ops::ParseSingleSequenceExample::Attrs::FeatureListDenseTypes(
  const DataTypeSlice & x
)

Defaults to [].

FeatureListSparseTypes

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 []

© 2017 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