Hi guys, I found a typo in the CrossEntropyLoss documentation website.
https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html?highlight=cross%20entropy%20loss 1
the denominator component of the 3rd formula in the page should read Sum of exponents as opposed to Exponents of the sum. This is to match with the SoftMax.
I verified it with some code, happy to provide it.
Regards,
Javier