I’ve been using PyCharm, in a normal setting, so I’m guessing no IPython, also because I’ve tried to write the magic function and it gives me a syntax error.
https://pytorch.org/tutorials/intermediate/reinforcement_q_learning.html 2
This is the link to the tutorial