In Doc of DataLoader, shuffle (bool, optional): set to True to have the data reshuffled at every epoch (default: False). So,  how to know the stop of one epoch, and then shuffle the training data. If I use this DataLoader with shuffle to load testing data, for example,
test_data = DataLoader(test_data_path)
model.eval()
test_model(test_data, model)
test_model(test_data, model)
I run test twice, is the order of test data same? In other words, how shuffle work for this case. There is no “epoch” concept.