Hi,
Yes. Note that you don’t need to make Variables anymore in pytorch. So the Tensor x and y should be already good to be used in your net (you might want to send them to the GPU if you use one with x = x.cuda() but that’s it).