I am confused with this problem too.
I have found that the torchvision package installed by “conda install pytorch torchvision cuda80 -c soumith” is different from the source code on github (https://github.com/pytorch/vision/blob/master/torchvision/transforms/transforms.py 233).
In the source code on github, there is a function calld “resize” in transforms.py 68, however there is no such function in the torchvision package installed by conda command.