Question d’entretien chez TikTok

Write self-attention and cross-entropy pseudocode