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
.
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