def forward(self, x) -> torch.Tensor:
        """`x` should be an instance of `PIL.Image.Image`"""
        with torch.no_grad():
            x = self.transforms(x)
        return x
`x` should be an instance of `PIL.Image.Image`
dpkd/transformers/examples/pytorch/contrastive-image-text/run_clip.py