Forward RNN assertion error

Getting an assertion error in Exercise 2 i.e wrong values for y_pred. I have looked extensively and still can not find the problem. Is there a bug in the exercise?

No, there is no bug in the exercise.

Can I share the Screenshot of my code ?

I had the same problem , take a look at the function header.