vinsol:

transforms.Resize


Default resize mode for torchvision resize is bilinear,
as for android function you mentioned, False means fast method, nearest neighborhood, and True is bilinear, slower one