Yes it was a bug and it was fixed, see:

  
      github.com/pytorch/pytorch
  
  
    



Issue: MSELoss wrongly sums instead of averages when reduction='elementwise_mean' 30


	
	opened by catalys1
	on 2018-08-01
	
	
	closed by li-roy
	on 2018-08-02
	


Issue description
I was training an autoencoder with MSELoss, and the loss values on the training data were huge but the loss...