Solved by AKASH_KUMAR in post #2 
              
              
                No, you need to add it to the transforms_list. 
transform = transforms.Compose([transforms.ToTensor(), transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))]) 
You can look at the source code for CIFAR10 here: torchvision.datasets.cifar — Torchvision master documentation