C5_W4_A1: UNQ_C4 Encoder Layer

What am I doing wrong? I keep receiving AssertionError: Wrong values when training=True.

(Solution code removed, as posting it publicly is against the honour code of this community)

Am I using the right dropout_rate?

Hi @jkh.goh,

Your both ffn_output are incorrect.

For first, your are passing the wrong output in the fnn.

For second, you are not applying dropout to the correct layer. The “dropout_rate” as you mentioned, needs to be a layer.

Thirdly, it is against the honour code to share your code publicly, regardless it is correct or not.

Best,
Mubsi

1 Like

Thank you so much. I was confused by “dropout rate” thinking it must be a numerical value as with the normal Dropout() layer.