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

  
      
      GitHub
  
  
    

pytorch/pytorch 34

Tensors and Dynamic neural networks in Python with strong GPU acceleration - pytorch/pytorch