Details on how workers prefetch data?

This would be the case if the default prefetch_factor of 2 is used but note that the 2 is not coming from the batch_size.
You can take a look at this code snippet to see how the prefetch_factor works.

1 Like