Do pretrained torch.hub models automatically resize images?

Hello, I have what might be a basic question that I can’t seem to find the answer to. Do torch.hub models automatically resize images during inference? Running some tests on model resolutions and was curious about this. Thanks!

It might depend on the used model but I assume (some) CNNs allow you to use variable input shapes as they would use adaptive pooling layers before the first linear layer.