By default all layers work with float tensors inside. Do you really need double precision? it would be more performant to cast your input to float instead of using DoubleTensors
However if you really need double precision you should be able do
model = Linear_Regress(1, 1).to(torch.float64)