i can’t solve this error in the TheDecoderLayer class
call() takes 2 positional arguments but 3 were given
any help please.
Look at the comment a line above out3 =...
which is on line 74.
Another hint is, when referencing a member function, the 1st argument is self
(which is implicit based on the call self.layernorm3
). So, you should provide layernorm3
only 1 parameter and not 2.
Thans a lot i intended to put a plus there.