(Full PyTorch Code Reference: https://github.com/openai/CLIP)

ViT & CLIP-7.jpg

ViT & CLIP-8.jpg