Missed TensorFlow World? Check out the recap. Learn more

Module: tf.keras.preprocessing.sequence

Defined in tensorflow/keras/preprocessing/sequence/__init__.py.

Utilities for preprocessing sequence data.


class TimeseriesGenerator: Utility class for generating batches of temporal data.


make_sampling_table(...): Generates a word rank-based probabilistic sampling table.

pad_sequences(...): Pads sequences to the same length.

skipgrams(...): Generates skipgram word pairs.