Solved by Kaixhin in post #3 
              
              
                If you are on the 0.2 release, reinforce is still available. If you’re on master and have torch.distributions instead, the RL examples should now be as follows: https://github.com/pytorch/examples/pull/249 
torch.distributions is much more general and suitable for a larger range of tasks - building …