state = Tensor(state).to(device)
It shows that particular error whenever it tries to execute the above line. Can anyone please explain what is going on here and how to rectify the problem.
Thanks a lot!