Thanks. I have corrected my mistake now.
Hi, Thank you in advance.
I have added the stride in the loops over horizontal axis and vertical axis like this ( for h in range(0, n_H, stride) and for w in range(0, n_W, stride)).
I still have the same problem.
Hi amina,
Remember that you are looping over the range of the output volume. The stride is applied to the input volume inside that loop.
2 Likes
Thank you so much! I got it
Found solution
Its about usage of Strides !
For loop should have range of n_H
vert_start = h * stride
vert_end = vert_start + f