Missing links to source code in docs

I like browsing PyTorch docs but it would be nice if all the methods have a link to the corresponding source code. This is not the case though. For example, I wanted to take a look at torch.zeros implementation and went to https://pytorch.org/docs/stable/torch.html#torch.zeros. The source code link is missing as for many other functions, why?

Hi,

Unfortunately these functions are implemented in c++ and so it’s not very easy to provide the source code for them directly from the doc.
Do you think cpp code would still be useful in the doc?

I’m resurrecting this because I think the cpp code would indeed be useful in the doc.