Pytorch cross entropy loss with temperature formula.