C1W3Q3 problem : Error

Hi everyone. I have answered question 3 correctly and my output is the same as expected. But in the next cell where this issue should be confirmed, I get an error. Failure to approve this exercise has caused the answer of my next exercises to be met with an error. Thank you for your advice on what to do.


Hi @Mohammad_Fallah ,

The AsserionError is raised because the vector for bias, b, is not in the shape of (n_y ,1). So you need to check how b is created.