Pytorch przekonwertuj tensor dtype

x.type(torch.DoubleTensor)
Frightened Finch