Merge branch 'master' of https://github.com/fchollet/keras
This commit is contained in:
commit
376373d159
@ -6,8 +6,8 @@ from six.moves import range
|
||||
|
||||
def pad_sequences(sequences, maxlen=None, dtype='int32'):
|
||||
"""
|
||||
Pad each sequence to the same lenght:
|
||||
the lenght of the longuest sequence.
|
||||
Pad each sequence to the same length:
|
||||
the length of the longuest sequence.
|
||||
|
||||
If maxlen is provided, any sequence longer
|
||||
than maxlen is truncated to maxlen.
|
||||
|
Loading…
Reference in New Issue
Block a user