I updated the notebook and it still works.
The problem is likely that you don’t want a nonlinearity at the end, so I added a linear layer.
This is likely a good solution for the example.
Best regards
Thomas
[Edit:] pull request (even if they should put a picture of the output rather than yours truly next to it)

  
      github.com/pytorch/examples
  
  
      
    
  


  Add linear layer to time series prediction 12



  by t-vi
  on 08:03AM - 09 Nov 17



  1 commits
  changed 1 files
  with 9 additions
  and 6 deletions.