Hello. I want to ask about about the relation between batch_size and length of data_loader…
Assuming I have a dataset with 1000 images and set as the train loader.
During training there will be a python code like:
for i, (input, target) in enumerate(train_loader):

I not sure about that if I set the batchsize as 10, will the train_loader’s length be changed to 100? And it’s length become to 50 if I set the batchsize as 20?  Or no matter how I set the batchsize, the trainloader will keep it’s length 1000?
Thank!