That’s an error in your initialize_parameters() function.
The assertion says your shape for W is incorrect. It should be (n_y, n_x).
So your call to np.random.randn(…) has a mistake.
That’s an error in your initialize_parameters() function.
The assertion says your shape for W is incorrect. It should be (n_y, n_x).
So your call to np.random.randn(…) has a mistake.
Okay, thanks