The batch chunking in the CatsAndDogs module in Chapter 8 misses :discard
Should be in two places:
|> Stream.chunk_every(batch_size, batch_size, :discard)
but is |> Stream.chunk_every(batch_size)
The batch chunking in the CatsAndDogs module in Chapter 8 misses :discard
Should be in two places:
|> Stream.chunk_every(batch_size, batch_size, :discard)
but is |> Stream.chunk_every(batch_size)
Good catch!