W4A1 Decoder ValueError

Hi. In Decoder Exercise, I get this error:

The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
I tried to find the solution but I didn’t find anything. How can I solve my problem?

Please click my name and message your notebook as an attachment.

The 3rd parameter when calling self.dec_layers[i] is not enc_output. Please fix it.