Solved by ptrblck in post #4 
              
              
                In your code snippets you are not showing the internal parameters, so could you add: 
for name, param in lstm.named_parameters():
    print(name, param)