Can you help

I did include the stride. anything else could be wrong? thanks.
Could I send you my code?

First Test: Z’s mean is incorrect. Expected: 0.5511276474566768
Your output: 1.0644642603114827 . Make sure you include stride in your calculation

First Test: Z[0,2,1] is incorrect. Expected: [-2.17796037, 8.07171329, -0.5772704, 3.36286738, 4.48113645, -2.89198428, 10.99288867, 3.03171932]
Your output: [-5.42280893 1.88549165 -4.09974126 -3.48941271 -5.34564475 3.56732833
1.77640635 -2.33586583] Make sure you include stride in your calculation

If this doesn’t help, please click my name and message your notebook as an attachment.

sent it to you as requested. thanks

For the outermost loop, why would you consider each example from the unpadded activations? Do read the instructions carefully to understand what additional processing you did to A_prev before starting the convolution operation and initialize a_prev_pad correctly.

that is a stupid typo, thanks a lot.
Nice day.