Thanks Thomas!  That’s it.  I confirm that your code yields the pictured result.  So glad to be able to move on.
I’m also able to run the example code now that your pull request has been accepted.
I’ll consider my part of this thread as “closed”.
I also added one more pull request for the example, incorporating cuda() definitions as well.

  
      github.com/pytorch/examples
  
  
      
    
  


  Added CUDA capability to time_sequence_prediction example 12



  by drscotthawley
  on 07:30PM - 09 Nov 17



  2 commits
  changed 1 files
  with 26 additions
  and 14 deletions.