_VF.LSTM Implementation

Hello!

I’m trying to dig into the implementation of torch.nn.LSTM.

First I look at this file and see that there is a rnn_impls on line 197. Then I see it defined on lines 14-19. And then I go to _VF.py and see this.

Perhaps this is due to lack of understanding of types or VariableFunctions, but I’m confused as to where to go next to find where the actual functionality of LSTM is implemented.

6 Likes