C5_W4_A1_Transformer_Subclass_v1_Exercise 6 - DecoderLayer

hi
I am getting below error ,i could not find out

The token create_look_ahead_mask is absent in the interpreter symbol table. It’s possible that the kernel restarted or you didn’t run the cell containing the function definition before running DecoderLayer_test.

Please run the dependent cell before executing DecoderLayer_test.

now i am getting this error

Message your notebook as an attachment.

The function arguments for MultiHeadAttention is (query, value, key, ...).
Your call arguments don’t reflect this when calling self.mha2(...).

1 Like

Hi Balaji ,
not able to find out exact arguments

I listed the positional arguments that are of interest when calling mha layer. The variables in the function are sufficient to plug in the respective places.

1 Like


Thank you very much Balaji,
got solution