tensorflow:: ops:: ParseSingleSequenceExample:: Attrs

#include <parsing_ops.h>

Optional attribute setters for ParseSingleSequenceExample .

Summary

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.

Public attributes

context_dense_shapes_

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

context_sparse_types_

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

feature_list_dense_shapes_

gtl::ArraySlice< PartialTensorShape > 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

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

ContextSparseTypes

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

FeatureListDenseShapes

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

FeatureListDenseTypes

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

Defaults to [].

FeatureListSparseTypes

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