W1_A1_E3_lstm_cell_forward

It worked for me. :smile:

Most likely you are misinterpreting the math formulas. Be careful to remember the convention that Prof Ng always uses: if he means “elementwise” multiply, he always and only uses “*” to indicate that. If he writes the two operands adjacent with no explicit operator, then and only then is the operation “real” matrix multiply (dot product style). Here’s a thread which discusses this in more detail.

Here’s the math formula shown in the instructions for the line of code that is “throwing”:

1 Like