# Module: tf.keras.preprocessing.sequence

<br />

## Classes

[`class TimeseriesGenerator`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/keras/preprocessing/sequence/TimeseriesGenerator): Utility class for generating batches of temporal data.

## Functions

[`make_sampling_table(...)`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/keras/preprocessing/sequence/make_sampling_table): Generates a word rank-based probabilistic sampling table.

[`pad_sequences(...)`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/keras/utils/pad_sequences): Pads sequences to the same length.

[`skipgrams(...)`](https://www.tensorflow.org/versions/r2.14/api_docs/python/tf/keras/preprocessing/sequence/skipgrams): Generates skipgram word pairs.