pytorch convertir tensor dtype

x.type(torch.DoubleTensor)
Frightened Finch