Reinforcement learning with PyTorch, inspired by MorvanZhou, change the framework from Tensorflow to PyTorch