With respect to Dataloaders:
After going through the pytorch documentation for Dataloader, if you don’t assign the number of subprocesses for num_workers, it assign the task to the main process;
which means, the ‘n’ number of workers assigned calls ‘n’ subprocesses.