Hi,
First of all, PyTorch is a very good library for deep learning researchers. I would like to contribute to the improvement of PyTorch. I have a few questions as below.
I want to easily find the code path for a particular function or class.
For example, there is torch.nn.CrossEntropyLoss which is not defined in torch/nn 1 but is defined in torch/nn/modules/loss.py 5.


Is there a way to easily find the code path?


We can import CrossEntropyLoss class using import torch.nn.CrossEntropy or import torch.nn.modues.loss.CrossEntropy. How does the former work?


In loss.py, torch.nn.L1Loss 1 and torch.nn.MSELoss 2 do not seem to be implemented. Where are these classes implemented?


Thanks