C5_W4, UNQ_C3 scaled_dot_product_attention

keep getting
AssertionError: Wrong masked weights
not sure how I should add mask to scaled_attention_logits
please help!

don’t worry about it, i found the error, thanks!

What was it? I’m having issues with the same function even though I got help.

@annabellal8063 can you tell us what was wrong? I’ve been stuck on it for hours

Hi @Felipehonorato , @AliEser

If you are getting the ‘wrong weights’ error message, then check scaled_attention_logits is calculated correctly.