I wanted to checkout the for implementation of torch.nn.functional.nll_loss()
I came across this line where nll_loss was implemented. Looking into the code at the location torch._c._nn.pyi
I was unable to find code related to losses but had no luck.
Does anyone where I can find the implementation of the function mentioned above.
Thanks in advance