If I torchscript a simple model with the torchvision.transforms.Resize op.
import torch
import torch.nn as nn
from torchvision import transforms
class ModelA(nn.Module):
def __init__(self,):
super().__init__()
self.preproc = transforms.Resize(size=(256, 256))