tf.keras.preprocessing.sequence.pad_sequences

Pads sequences to the same length.