I would like to implement a custom version of the typical LSTM cell as it is implemented in Pytorch, say, change one of the activation functions at a gate. For this, I would like to see how the LSTM is implemented in Pytorch at the moment. I can find some code here, but unfortunately, I cannot find the exact LSTM computations there etc.
Related posts can for example be found here, but all they delivered me is that nobody has found the LSTM cell code in github.
Where is the LSTM cell implemented in the Pytorch Github exactly?