A question about the way of DataLoader producing data

I think your question is similar to this one.