Why zip the data argument to the `Flux::train!` function?

Yes that helps - and thank you also for linking the source code, good idea to go look, especially in Julia, where the source code is often relatively concise and readable.

1 Like