Week 4 - Cell #13. Can't compile the student's code. Error: AssertionError('Wrong masked weights')

Hello, please help me, I don’t know what is my problem…

# UNQ_C3 (UNIQUE CELL IDENTIFIER, DO NOT EDIT)
# GRADED FUNCTION scaled_dot_product_attention
edited - code removed

Please relook at the description for this exercise. It says,

Later you will use that mask to set all the zeros in the sequence to a value close to negative infinity (-1e9).

“1e-9” and “-1e9” are totally different. :slight_smile:

1 Like

I have edited your message to remove the code.
Please do not post your code on the Forum.