tensorflow:: ops:: ParseSequenceExampleV2:: Attrs

#include <parsing_ops.h>

Optional attribute setters for ParseSequenceExampleV2 .

Summary

Public attributes

Ncontext_sparse_ = 0
int64
Nfeature_list_dense_ = 0
int64
Nfeature_list_sparse_ = 0
int64
context_dense_shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
context_ragged_split_types_ = {}
DataTypeSlice
context_ragged_value_types_ = {}
DataTypeSlice
context_sparse_types_ = {}
DataTypeSlice
feature_list_dense_shapes_ = {}
gtl::ArraySlice< PartialTensorShape >
feature_list_dense_types_ = {}
DataTypeSlice
feature_list_ragged_split_types_ = {}
DataTypeSlice
feature_list_ragged_value_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.
ContextRaggedSplitTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
RaggedTensor.row_split dtypes for the ragged context features.
ContextRaggedValueTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
RaggedTensor.value dtypes for the ragged context features.
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 [].
FeatureListRaggedSplitTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
RaggedTensor.row_split dtypes for the ragged FeatureList features.
FeatureListRaggedValueTypes (const DataTypeSlice & x)
TF_MUST_USE_RESULT Attrs
RaggedTensor.value dtypes for the ragged FeatureList features.
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.
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_sparse_

int64 tensorflow::ops::ParseSequenceExampleV2::Attrs::Ncontext_sparse_ = 0

Nfeature_list_dense_

int64 tensorflow::ops::ParseSequenceExampleV2::Attrs::Nfeature_list_dense_ = 0

Nfeature_list_sparse_

int64 tensorflow::ops::ParseSequenceExampleV2::Attrs::Nfeature_list_sparse_ = 0

context_dense_shapes_

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

context_ragged_split_types_

DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::context_ragged_split_types_ = {}

context_ragged_value_types_

DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::context_ragged_value_types_ = {}

context_sparse_types_

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

feature_list_dense_shapes_

gtl::ArraySlice< PartialTensorShape > tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_dense_shapes_ = {}

feature_list_dense_types_

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

feature_list_ragged_split_types_

DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_ragged_split_types_ = {}

feature_list_ragged_value_types_

DataTypeSlice tensorflow::ops::ParseSequenceExampleV2::Attrs::feature_list_ragged_value_types_ = {}

feature_list_sparse_types_

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

Public functions

ContextDenseShapes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::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 []

ContextRaggedSplitTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::ContextRaggedSplitTypes(
  const DataTypeSlice & x
)

RaggedTensor.row_split dtypes for the ragged context features.

Defaults to []

ContextRaggedValueTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::ContextRaggedValueTypes(
  const DataTypeSlice & x
)

RaggedTensor.value dtypes for the ragged context features.

Defaults to []

ContextSparseTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::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::ParseSequenceExampleV2::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::ParseSequenceExampleV2::Attrs::FeatureListDenseTypes(
  const DataTypeSlice & x
)

Defaults to [].

FeatureListRaggedSplitTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::FeatureListRaggedSplitTypes(
  const DataTypeSlice & x
)

RaggedTensor.row_split dtypes for the ragged FeatureList features.

Defaults to []

FeatureListRaggedValueTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::FeatureListRaggedValueTypes(
  const DataTypeSlice & x
)

RaggedTensor.value dtypes for the ragged FeatureList features.

Defaults to []

FeatureListSparseTypes

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::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 []

NcontextSparse

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::NcontextSparse(
  int64 x
)

Defaults to 0.

NfeatureListDense

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::NfeatureListDense(
  int64 x
)

Defaults to 0.

NfeatureListSparse

TF_MUST_USE_RESULT Attrs tensorflow::ops::ParseSequenceExampleV2::Attrs::NfeatureListSparse(
  int64 x
)

Defaults to 0.