Should be: > torch_tensor(1:5, device = "cuda") torch_tensor 1 2 3 4 5 [ CUDALongType{5} ]
Should be: