Make PyTorch variables to float64
How to make all the variables created in a PyTorch file to float64? 
Is there a single line of code which can do that? 

You can set the default tensor type using this one-liner:

torch.set_default_tensor_type(torch.DoubleTensor)

