http://pytorch.org/docs/master/torchvision/transforms.html?highlight=torchvision 13
Using torchvision, you can convert the tensor to a PIL image with torchvision.transforms.ToPILImage, then resize the image torchvision.transforms.Resize, then bring it back to a tensor with torchvision.transforms.ToTensor.