C4w1 poolbackward

Hello,
I need help for, i have all correct, i think, but i have a wrong value for max and average

sincerly

(5, 4, 2, 2)
(5, 5, 3, 2)
mode = max
mean of dA = 0.14571390272918056
dA_prev1[1,1] = [[ 0. 0. ]
[10.11330283 -0.49726956]
[ 0. 0. ]]

mode = average
mean of dA = 0.14571390272918056
dA_prev2[1,1] = [[-0.32345834 0.45074345]
[ 2.52832571 -0.24863478]
[ 1.26416285 -0.12431739]]


AssertionError Traceback (most recent call last)
in
21 assert np.allclose(dA_prev1[1, 1], [[0, 0],
22 [ 5.05844394, -1.68282702],
—> 23 [ 0, 0]]), “Wrong values for mode max”
24 assert np.allclose(dA_prev2[1, 1], [[0.08485462, 0.2787552],
25 [1.26461098, -0.25749373],

AssertionError: Wrong values for mode max

Hi Mamadou_Diouf,

If you did not resolve this issue yet, feel free to send me a direct message with your iphython notebook so I can have a look.

Please help me with this. I am having exactly the same result