tf.train.FeatureLists

Mainly used as part of a tf.train.SequenceExample.

Contains a list of tf.train.Features.

The tf.train.SequenceExample proto can be thought of as a proto implementation of the following python type:

# tf.train.Feature
Feature = Union[List[bytes],
                List[int64],
                List[float]]

# tf.train.FeatureList
FeatureList = List[Feature]

# tf.train.FeatureLists
FeatureLists = Dict[str, FeatureList]

class SequenceExample(typing.NamedTuple):
  context: Dict[str, Feature]
  feature_lists: FeatureLists

This proto implements the Dict[str, FeatureList] portion.

feature_list repeated FeatureListEntry feature_list

Child Classes

class FeatureListEntry