normalizeRows(x) = [[5. ]
[7.28010989]]
Error: Wrong shape
Error: Wrong output
1 Tests passed
2 Tests failed
AssertionError Traceback (most recent call last)
in
3 print("normalizeRows(x) = " + str(normalize_rows(x)))
4
----> 5 normalizeRows_test(normalize_rows)
~/work/release/W2A1/public_tests.py in normalizeRows_test(target)
162 ]
163
β 164 test(test_cases, target)
165
166 def softmax_test(target):
~/work/release/W2A1/test_utils.py in test(test_cases, target)
24 print(β\033[92mβ, success," Tests passed")
25 print(β\033[91mβ, len(test_cases) - success, " Tests failed")
β> 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 normalize_rows. Check your equations and avoid using global variables inside the function.
I need help