TensorFlow 2.0 Beta is available Learn more

Module: tf.keras.preprocessing.sequence

Aliases:

  • Module tf.compat.v1.keras.preprocessing.sequence
  • Module tf.keras.preprocessing.sequence
View source on GitHub

Classes

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

Functions

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

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

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