Hello,
In official pytorch tutorial (http://pytorch.org/tutorials/beginner/data_loading_tutorial.html#sphx-glr-beginner-data-loading-tutorial-py 3) ToTensor() is defined as a function that converts numpy image to Torch Image. However, in pytorch documentation (http://pytorch.org/docs/master/torchvision/transforms.html 1) changing range of input is also mentioned.
Thanks,