title: How to stretch and squeeze an image in PyTorch?
body: <p>I am working on MNIST Digit Data and looking for a way to either stretch or squeeze the image. The data is of the shape (28,28) and I want the final image to be of the same shape but either stretched or squeezed.</p>
  <p>Is there any way to do it using <code>torchvision.transforms</code> or using any other method?</p>