hi @Deepti_Prasad
I am getting below error ,i could not figure it out
please help me to resolve.
thank you
hi @Deepti_Prasad
I am getting below error ,i could not figure it out
please help me to resolve.
in block1 codes where you calculate self attention, you are missing an important instruction mentions as return sequence as attention weights.
Kindly re-read instructions before the exercise, which mentions what all need to be followed for multi attention 1 code
Read the return attention score statement from the encoder layer section which tells you if you use if true you get attention output.
So in multi attention 1, instruction mentions return attention score to attention weight.
You have your answer, rather than responding yes or no to your question, I want you to implement your thought on what I mentioned (you are in the right direction)
most of the answer to your exersises are in instructions given in the grade cells and before the grade cell. so whenever you get stuck, try to catch it by first, which code line is throwing error, then what information it is providing about that incorrect code.
Then go back to the code line in exercise, re-read like you are reading for the first time. if possible don’t see the code you wrote, just read the instructions, you instantly will find the solution. this is my approach to debug code in any assignment.
Thank you