Is:
loss = nn.MSELoss(reduce=False)
loss = loss.mean()
and:
loss = nn.MSELoss(reduce=True)
The same?
If yes, is it the same for all loss functions with the reduce
option? If no, what do I need to do to get the same result if I choose to do reduce=False
?