Pytorch Resize Image Tensor, Tensor images with a float dtype are expected to have values in [0, 1].