I followed the instructions every step, but the values are incorrect.
Did you modify anything in the constructor part of the Encoder class?
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.



