Solved by ptrblck in post #2 
              
              
                You should be able to directly access the attributes of the transformations, as they are implemented as Python classes: 
norm = transforms.Normalize(mean=torch.tensor([0.5, 0.5, 0.5]),
                            std=torch.tensor([0.5, 0.5, 0.5]))
print(norm)
norm.mean = torch.tensor([1.5, 1.5, 1.5]…