Getting this error in running DQN tutorial.
Traceback (most recent call last):
File “reinforcement_q_learning.py”, line 109, in 
plt.imshow(get_screen().cpu().squeeze(0).permute(1, 2, 0).numpy(),
File “reinforcement_q_learning.py”, line 105, in get_screen
return resize(screen).unsqueeze(0).type(Tensor)
NameError: global name ‘Tensor’ is not defined