Great, thank you!
I have two other questions:


if I create train/validation set by creating two DataLoader object outside the training loop, does it mean that in the training phase, train/validation sets are fixed?  Do I need to put them inside the training loop if I want to get different train/validation sets for different epochs?


Does it automatically shuffle the training set when getting mini-batch in each epoch?