Output mismatch

The lstm_backward function outputs wrong values. Any help in finding out error in my code.
Here are the functions


for da_prev, did the equation call for dWf, dWi, dWc, dWo, or to use Wf, Wi, Wc, Wo? This is what I am seeing in equation 19.

1 Like

For the last line of the lstm_backward function, should it be da0 = gradients['da_prev'] instead?