Batch time-series input for RNN

AFAIK Flux’s DataLoader does not do any collation for non-array inputs, so you’d have to handle that yourself before passing the data off to the RNN. If you don’t mind the extra dependency, https://github.com/lorenzoh/DataLoaders.jl does handle this in a fashion similar to what you’d expect from PyTorch’s DataLoader.

1 Like