I am getting the following error. Please help resolve it.
dW1 =
[[-0.86314619 -0.61395629 -0.92115561]
[-0.94405746 -0.49731769 -1.04805492]]
dW2 =
[[-0.03866885 -0.03586516]
[-0.76108451 -0.76108451]
[-0.76108451 -0.76108451]]
dW3 =
[[-2.4417938 -0.76108451 -0.76108451]]
1 Tests passed
1 Tests failed
AssertionError Traceback (most recent call last)
in
5 print (“dW2 = \n”+ str(grads[“dW2”]))
6 print (“dW3 = \n”+ str(grads[“dW3”]))
----> 7 backward_propagation_with_regularization_test(backward_propagation_with_regularization)
~/work/release/W1A2/public_tests.py in backward_propagation_with_regularization_test(target)
100 ]
101
→ 102 multiple_test(test_cases, target)
103
104 def forward_propagation_with_dropout_test(target):
/opt/conda/lib/python3.7/site-packages/dlai_tools/testing_utils.py in multiple_test(test_cases, target)
162 print(’\033[91m’, len(test_cases) - success, " Tests failed")
163 raise AssertionError(
→ 164 “Not all tests were passed for {}. Check your equations and avoid using global variables inside the function.”.format(target.name))
AssertionError: Not all tests were passed for backward_propagation_with_regularization. Check your equations and avoid using global variables inside the function.