Resize images

Sorry, I was showing commands on Jupyter Notebook. The problem isn’t if the operation can be done inplace or not, it’s that resize only accepts one int or a TensorImageSize, which is a tuple of size 3. This means that unfortunately what one would think a very standard call like img.resize(300,200) returns an error.

@mgloria I’m wondering why I’d have to use a transform if there is a resize function available in the Image class, but please show me how I can define a transform to accomplish the resizing operation as specified (i.e. no padding, squishing, cropping etc. just standard resizing/scaling)