<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.22.0/tensorflow/core/example/feature.proto) |

Mainly used as part of a [`tf.train.SequenceExample`](https://www.tensorflow.org/api_docs/python/tf/train/SequenceExample.md.txt).

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate.md.txt) for
more details.

[`tf.compat.v1.train.FeatureLists`](https://www.tensorflow.org/api_docs/python/tf/train/FeatureLists.md.txt)

<br />

Contains a list of [`tf.train.Feature`](https://www.tensorflow.org/api_docs/python/tf/train/Feature.md.txt)s.

The [`tf.train.SequenceExample`](https://www.tensorflow.org/api_docs/python/tf/train/SequenceExample.md.txt) proto can be thought of as a
proto implementation of the following python type:

```python
# 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.

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `feature_list` | `repeated FeatureListEntry feature_list` |

<br />

## Child Classes

[`class FeatureListEntry`](https://www.tensorflow.org/api_docs/python/tf/train/FeatureLists/FeatureListEntry.md.txt)