Pragya:

Also, why is the seed updated in every epoch as above (seed+epoch), Is it to ensure that data is randomized differently in each epoch?


Yes, I didn’t want to reuse the same seed again, as the data wouldn’t be “randomly” shuffled anymore in each epoch.
I’m still unsure, where the PRNG is used in creating the test_loader, as it’s not shuffling the data etc.