What is the recommend method for searching the PyTorch source code?
For example I’m attempting to find the source for Dropout. I begin with the doc :
Can see dropout is implemented as :
def forward(self, input):
return F.dropout(input, self.p, self.training, self.inplace)
I wish to view how dropout is implemented but I’m unable to find the source for :
F.dropout(input, self.p, self.training, self.inplace)
From viewing https://pytorch.org/docs/stable/_modules/torch/nn/functional.html#dropout2d it appears to be implemented as _VF.feature_dropout(input, p, training)) but where is _VF.feature_dropout(input, p, training)) implemented in source ?
I’ve searched for _VF.feature_dropout(input, p, training)) the results of which are : https://github.com/pytorch/pytorch/blob/a47749cb28bb630bc99601a64e24ad453d9583a9/torch/nn/functional.py but this does not show how dropout is implemented.
How to find the source for dropout and in general are there recommendations for navigating the PyTorch source https://github.com/pytorch/pytorch ?