Created
September 22, 2020 17:37
-
-
Save abhishek-shrm/5ac37f49da725c08ad4bfa873b72064c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from keras.preprocessing.sequence import pad_sequences | |
# Padding with zero | |
train_seq=pad_sequences(train_seq,maxlen=100,padding='post') | |
test_seq=pad_sequences(test_seq,maxlen=100,padding='post') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment