Exercise 3, course 4, week 1 - Z's mean error

Hi there, i’m stuck with this problem, i followed other topic to correct some mistakes, but now this one persists:

Z’s mean =
Z[0,2,1] =
[-2.17796037 8.07171329 -0.5772704 3.36286738]
cache_conv[0][1][2][3] =
[-1.1191154 1.9560789 -0.3264995 -1.34267579]
First Test: Z’s mean is incorrect. Expected: 0.5511276474566768
Your output: 0.006820647999697346 . Make sure you include stride in your calculation

What could that be ?

Maybe this guide will help.

Hi, this is the one i was following.

Anyway, i just found the mistake, i was initializing Z with the previous values of W,H and C

Thank you anyway.

I am glad you found it on your own…