C5_W4_A1_Transformer_Subclass_v1 Encoder Wrong values case 1

I followed the instructions every step, but the values are incorrect.

Did you modify anything in the constructor part of the Encoder class?

1 Like

No, I don’t modify anything in constructor of Encoder class

I have just restart kernel & run code. Error is below.

There is probably an error in your EncoderLayer() function.

The image you posted was not of the Encoder() class. It is for the EncoderLayer() class.