In the pytorch documentation, each class will have a source in the right side. Just click that and read about it