Course 1, week 4, assignment 1, exercise 9

NameError Traceback (most recent call last)
in
----> 1 t_AL, t_Y_assess, t_caches = L_model_backward_test_case()
2 grads = L_model_backward(t_AL, t_Y_assess, t_caches)
3
4 print("dA0 = " + str(grads[‘dA0’]))
5 print("dA1 = " + str(grads[‘dA1’]))

NameError: name ‘L_model_backward_test_case’ is not defined

I am finding difficulty understanding this error.

Make sure you run all previous cells to also have correct imports.

thank you sir, it worked.

2 Likes