Hello,
i am really stuck with the following output:
Z’s mean =
0.5511276474566768
Z[0,2,1] =
[-2.17796037 8.07171329 -0.5772704 3.36286738 4.48113645 -2.89198428
10.99288867 3.03171932]
cache_conv[0][1][2][3] =
[-1.1191154 1.9560789 -0.3264995 -1.34267579]
AssertionError Traceback (most recent call last)
in
11 print(“cache_conv[0][1][2][3] =\n”, cache_conv[0][1][2][3])
12
—> 13 conv_forward_test(conv_forward)
~/work/release/W1A1/public_tests.py in conv_forward_test(target)
93 [-0.47552486, -0.16577702, -0.64971742, 1.63138295]])
94
—> 95 assert np.isclose(Z_means, expected_Z), f"Wrong Z mean. Expected: {expected_Z} got: {Z_means}"
96 assert np.allclose(cache_conv[0][1, 2], expected_conv), f"Values in Z are wrong"
97
AssertionError: Wrong Z mean. Expected: -0.5384027772160062 got: -0.22100395509655646
I am using the stride for calculating the start values.
Any idea?
Thanks!