Week 4 Neural Network: Step by Step Assertion Error

6.3 -
Excercise 9 - L-Model Backward

The values of dA1 and dA0 are interchanged for the code I write. Even when I alter the code and get the same output as mentioned in the answer, it shows
“AssertionError: Not all tests were passed for L_model_backward. Check your equations and avoid using global variables inside the function.”

Please help!!

Hi @Dev_Makwana,

Can you share your lab ID with me ? In the assignment, when you click the top right “Help” button, a panel will open and your lab ID will be shown at the bottom.

I shall take a look.

When you reply back, kindly tag me in the post so that I’m notified.


Hi, Dev Makwana!

Were you able to resolve the issue?