I have fixed the two issues you mention, but I’m getting the same error. I’m using xt, a_next, c_next, and parameters in my call to lstm_cell_forward. Anything else to check?
Hi to all, I currently have the same result as [travisbickle34], same identical values
Good cache values but wrong a, y and c values.
I have already verified the pieces of advice mentioned in this post.
Since, the very beginning I used a_next and c_next to call my lstm_cell().
Although I was using parameters[“Wy”].shape to recover the n_y and n_a, getting these values from Wy.shape does not solve my error.
I have been looking for over 3 h the function, and I cannot get the error. Could someone give some advice?
Hi @TMosh, I am also having the same problem. I’m almost certain I have initialized a incorrectly but can’t think of any other way to do it. How do I send you a private message with my code to get help?
Thank you all for this thread. It has been very helpful. I’ll also add to make sure that you are initializing with a0. In other words, make sure that a_next and c_next are not identical when you initialized them.