Forget this post: I the biggest of oafs. Linus was right. I did call to(at::kCuda) but did not assign it to a tensor object…
I was confused by the ‘to’ call. Say you have a Car class. Then you expect MyCar.to(garage) to move your car to the garage. Not a copy of it…