Solved by ptrblck in post #2 
              
              
                You need to specify the layer index of your parameters. 
I.e. if your LSTM has one layer (as in your example): 
print(lstm.weight_ih_l0)
print(lstm.weight_hh_l0)