Hi,
For a problem I have used CrossEntropyLoss as criteria to evaluate performance of a neural network. In order to know details of this function i visits this page http://pytorch.org/docs/master/_modules/torch/nn/modules/loss.html#CrossEntropyLoss 1.8k. Here the CrossEntropyLoss is defined using the F.cross_entropy function where F is declared as from … import functional as F.  I’m unable to find the source code of F.cross_entropy function. Does anybody know the details of this function.