Where can I find torch.bernoulli source code?

It seems that some of the source files are missing for some functions and classes. For Eg: DropoutBackward and torch.bernoulli are missing. Can anyone suggest where to look for these source files?

Hi,

The files that you cannot find in the python code come from the C backend.
The C implementations are in the Aten library folder.

1 Like