Understanding Contrastive Representation Learning through Geometry on the Hypersphere