I was solving the seventh module and added all the required cases and solved accordingly, yet it showed 1 test case failed alongwith this error
AssertionError Traceback (most recent call last)
in
3 print("softmax(x) = " + str(softmax(t_x)))
4
----> 5 softmax_test(softmax)
~/work/release/W2A1/public_tests.py in softmax_test(target)
223 ]
224
β 225 test(test_cases, target)
226
227
~/work/release/W2A1/test_utils.py in test(test_cases, target)
24 print(β\033[92mβ, success," Tests passed\033[0m")
25 print(β\033[91mβ, len(test_cases) - success, " Tests failed\033[0m")
β> 26 raise AssertionError(β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 softmax. Check your equations and avoid using global variables inside the function.
I would be obliged to get some help regarding this issue on test case