C4W2 assignment exercise 1 scaled dot-product attention | wrong output values

I think I implemented the function ‘scaled_dot_product_attention’ correctly. Still I get wrong outputs for unknown reason.

Screenshot 2024-04-23 at 22.48.03

Screenshot 2024-04-23 at 22.49.17

Thank you for helping me.

Send me the code on a private message, I could compare them!

I did thank you for your help

I replied to you with your mistakes but try to understand from the instructions why there are so!

1 Like