W4 Exercise 2 - initialize_parameters_deep

In exercise 2, One test passes and the other fails. I need help.


Again, you can not post your code in here.

You need to look more closer to your code. Use "l" (L) and "1"(one) to appropriate positions.

It only works when changed inside the for loop and assertion statement

You can see what the problem is in the error messages you get: your b2 value has 2 columns. The bias vectors are all column vectors, right? So how did that happen? Nobu has given you a big hint: look at the arguments you are specifying in that np.zeros call in the for loop. It’s a bit hard to see, but there’s an l (lower case ell) where there should be a 1 (number one).

Thanks! I was able to resolve the problem