Skip to content

Instantly share code, notes, and snippets.

@grohith327
Created May 20, 2018 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grohith327/a6edf7ce4c04ad484361cb88f3366780 to your computer and use it in GitHub Desktop.
Save grohith327/a6edf7ce4c04ad484361cb88f3366780 to your computer and use it in GitHub Desktop.
from keras.preprocessing.sequence import pad_sequences
X = tokenizer.texts_to_sequences(x)
X = pad_sequences(X)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment