AssertionError Traceback (most recent call last)
in
11 print(“v[“db2”] = v” + str(v[“db2”]))
12
—> 13 update_parameters_with_momentum_test(update_parameters_with_momentum)
~/work/release/W2A1/public_tests.py in update_parameters_with_momentum_test(target)
155 ]
156
→ 157 multiple_test(test_cases, target)
158
159 def initialize_adam_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 update_parameters_with_momentum. Check your equations and avoid using global variables inside the function.