C5_W4_A1_Transformer Exercise 4 - EncoderLayer

Exercise 4 - EncoderLayer

I get this error message :
AssertionError: Wrong values when training=True

Can you help figure this out?
Thank you

1 Like

Somewhere in your code, you’re probably missing a “training=training” argument in one of the layers.

1 Like

I am also stuck in Exercise 4 but mine is due to applying wrong input for encoder_layer_out. I used the sum of attn_output instead of out1 plus ffn_output.