sorry for another question,
in torch the script
pattern = image.scale(low_pattern, MAX_SIZE, MAX_SIZE,‘bicubic’),
can scale low_pattern (image or tensor) to the specified size MAX_SIZE with ‘bicubic’ interpolation.
so how to fulfill image scale in pytorch?