I know how to implement the sigmoid function, but I don’t know how to find the implementation of torch.sigmoid
in pytorch source code.
I coun’t find the relevant implementation function in the torch directory
2 Likes
I wrote a tutorial on diving into PyTorch code a while ago, but it still is largely accurate.
In particular rgrep sigmoid aten/
should be helpful.
Best regards
Thomas
1 Like