nn.CrossEntropyLoss equation

can anyone please tell me the underlying loss equation invoked by torch.nn.CrossEntropyLoss() in pytorch?

The formula is given in the doc for CrossEntropyLoss: https://pytorch.org/docs/stable/nn.html#torch.nn.CrossEntropyLoss