Something like this should work:
model = models.resnet18()
conv0 = nn.Conv2d(4, 3, 1)

x = torch.randn(1, 4, 224, 224)
out = conv0(x)
out = model(out)

You could of course wrap it in a new custom module, which would be a bit cleaner.