{moderator edit - solution code removed}
ERROR is :
ValueError Traceback (most recent call last)
in
18
19 da_tmp = np.random.randn(5, 10, 4)
—> 20 gradients_tmp = lstm_backward(da_tmp, caches_tmp)
21
22 print(“gradients["dx"][1][2] =”, gradients_tmp[“dx”][1][2])
in lstm_backward(da, caches)
56
57 # Fix the dimensions of dx[:,:,t]
to match gradients["dxt"]
—> 58 dx[:, : ,t] = gradients[“dxt”]
59
60 dWf += gradients[“dWf”]
ValueError: could not broadcast input array from shape (5,3) into shape (3,10)