We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27c5b0 commit 21492a2Copy full SHA for 21492a2
docs/templates/preprocessing/sequence.md
@@ -12,6 +12,9 @@ Transform a list of `nb_samples sequences` (lists of scalars) into a 2D numpy ar
12
- __sequences__: List of lists of int or float.
13
- __maxlen__: None or int. Maximum sequence length, longer sequences are truncated and shorter sequences are padded with zeros at the end.
14
- __dtype__: datatype of the numpy array returned.
15
+ - __padding__: 'pre' or 'post', pad either before or after each sequence.
16
+ - __truncating__: 'pre' or 'post', remove values from sequences larger than maxlen either in the beginning or in the end of the sequence
17
+ - __value__: float, value to pad the sequences to the desired value.
18
19
---
20
0 commit comments