Hi, I have another question.
I want to sum multiple losses, which are all the same loss functions.

1:
criterion = nn.MSELoss().cuda()
loss = criterion(a, label) + criterion(c, label)
2:
criterion1, criterion2 = nn.MSELoss().cuda(), nn.MSELoss().cuda()
loss = criterion1(a, label) + criterion2(c, label)
which way should I take? Thanks.