The Mechanism of Prediction Head in Non-contrastive Self-supervised Learning