You are right! Since replacement=True
is the default option, there will probably be repetitions.
If you use the batch_size
for the num_samples
argument, your DataLoader
will just return one batch of samples in the loop.
You are right! Since replacement=True
is the default option, there will probably be repetitions.
If you use the batch_size
for the num_samples
argument, your DataLoader
will just return one batch of samples in the loop.