Week 3 exercise 8


this gives the assertion error but prior in the forward propagation module all worked fine then how it’s giving error here in the integration part, pls help asap
i’m also attaching my forward propagation snippet below

Hey @vishwa05 , this interesting. I’m unable to replicate this on my end. Can you DM your notebook ? I’ll take a look at it. Here’s how you can download: How to Download Your Notebook(s)

Hi, @vishwa05.
Probably you have hardcoded the values of n_x, n_h, n_y in layer_sizes(X, Y) function. n_h need to be hardcoded but n_x and n_y values have to be obtained from X and Y shapes.

3 Likes