Solved by jpeg729 in post #2 
              
              
                Are you sure your version of torchvision is up to date? 
If you have an old version of torchvision transforms.Scale might work.