How to cast a tensor to another type?

tensor.double()

39 Likes