Couse5, fitst programming assignment, second graded function, rnn_forward

hi there, in the first programming assignment of course five I’ve got a problem, in the second part of this assignment, in the for loop, I passed “x[:,:,t]”, “a0” and “parameters” from “rnn_cell_forward” function, but I get shape error, I assigned a_next to a[:,:,t] and yt_pred to y_pred[:,:,t] by the way.
is there any problem with them?

Not a0. Try a_next. The purpose of the for-loop is to keep updating a_next.

1 Like

Thank you very much.