Where can I find the implementation (raw code) of rnn_tanh and rnn_relu

I’m a beginner of pytorch, I would like to see how a RNN is realized in the raw code of pytorch.
Sofar, I found the class RNN call functions named _VF.rnn_tanh and _VF.rnn_relu.
How can I found the raw cods of them?

Hi, @Ji_Zhang,
The implementation of rnn_tanh and rnn_relu are available here. Thanks!

1 Like

thanks a lot, khushi