Skip to content

Instantly share code, notes, and snippets.

@hadifar
Last active December 6, 2018 07:09
Show Gist options
  • Select an option

  • Save hadifar/8fb6d1e57c9e5b69a0c167065f31452d to your computer and use it in GitHub Desktop.

Select an option

Save hadifar/8fb6d1e57c9e5b69a0c167065f31452d to your computer and use it in GitHub Desktop.
x_train = keras.preprocessing.sequence.pad_sequences(x_train, maxlen=256)
x_test = keras.preprocessing.sequence.pad_sequences(x_test, maxlen=256)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment