Scaled Dot-Product Attention - Coding problem | OneNoughtOne