Different length sequences as batch input to LSTM

There’s probably not one best solution. For my work, I usually go for organizing my batches to avoid the hassle of padding and packing. But that’s just for basic research prototypes, and I’m the one looking at the code :slight_smile:

There are valid arguments against this approach. At least for practical purposes.

1 Like