Module: tf.keras.preprocessing.sequence

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

Keras data preprocessing utils for sequence data.

Functions

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

pad_sequences(...): Pads each sequence to the same length (length of the longest sequence).

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