Scaled Dot-Product Attention and Masking in Transformers | CodeSignal Learn