text_plain_output_1.png
from keras.preprocessing.sequence import pad_sequences

maxlen = 130
x_train = pad_sequences(x_train, maxlen=maxlen)
x_test = pad_sequences(x_test, maxlen=maxlen)

for i in x_train[0:10]:
    print(len(i))