Hi there,
I am refactoring some legacy code. There is an expression:
x = tensor.zeros(10, 10)
y = Variable(x).cuda()

How to write the second line in a ‘modern’ way (compatible with pytorch > 1.0)?
Thanks!