So when a batch of data is passed through a network, is each sample in the batch passed through its own instance of the network in parallel? My assumption is that it is. How does PyTorch go about this? Is it a multithreaded process? How does it work on a GPU?