C5w4 A1 exercise 5 Encoder()

Hello guys,

Could you please help me with my code? This is the error message I get. I don’t actually where and how to use the argument ‘mask’.

It’s ok, I finally got it correct!

Got to use the arguments ‘training’ and ‘mask’ all together when passing the output through the encoding layers.