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,