# tf.train.FeatureList

<br />

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

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

#### View aliases


**Compat aliases for migration**

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

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

<br />

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

The [`tf.train.SequenceExample`](https://www.tensorflow.org/versions/r2.13/api_docs/python/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 `List[Feature]` portion.

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `feature` | `repeated Feature feature` |

<br />