Please I need help! I get 0/100 every time send the Assignment, I have no idea about this problem
Cell #21. Can’t compile the student’s code. Error: TypeError(‘DecoderLayer_test() takes 1 positional argument but 2 were given’)
Please I need help! I get 0/100 every time send the Assignment, I have no idea about this problem
Cell #21. Can’t compile the student’s code. Error: TypeError(‘DecoderLayer_test() takes 1 positional argument but 2 were given’)
Did you modify the cell that contains the decoderLayer test?
Please post a screen capture image that shows the cell contents.
Also try restarting the kernel and run all the notebook cells again. Then look at every test result for any error messages.
There is something strange-looking about your assert messages. The line numbers should be on the left, yours are on the right, and the little green pointer arrows are unusual.
It appears there is an error in your DecoderLayer() function.
The most likely place is the arguments (or the values) you’re passing to self.mha2().