loss = nn.MSELoss()
input = torch.randn(3, 5, requires_grad=True)
target = torch.randn(3, 5)
output = loss(input, target)
output.backward()



If I do this? output = loss(target, input)
Swap target and input.
Will this be a mistake?