It’s cause they are using pythons Intra-package References and those init.py files are the key to follow mapping
Such as for your example here:
https://github.com/pytorch/pytorch/blob/master/torch/nn/modules/ 98init.py