Hello,
I am getting an assertion error “wrong values in a” and I am trying to figure out my mistake.
What I have done so far:
-
Initialize a, and y_pred with zeros of shape (na,m,Tx) for a, and (ny,m,Tx) for y_pred using numpy.zeros() function.
-
Initialize a_next to function parameter a0
-
Loop for each t in T_x range:
- get xt by slicing function parameter x, thinking is get all the first dimension, get all the second dimension, get only the t, third dimension.
-run rnn_cell_forward with xt, a0, and parameters as arguments - save the output a_next in the corresponding t of a.
And I leave it there for now as the assertion error is for a.
My rnn_cell_forward function passess all tests, double checked and also cant seem to find the mistake in there.
Thanks for the help