Vertical start, vertical end - Week 1

Week 1 - Conv_forward () function
I am totally lost how are we supposed to find vertical start and end of current slice? Can someone please help understand what is current slice? isn’t vertical start going to be 0 and vertical end going to be f, since it’s top left?

(for h in range(n_H): # loop over vertical axis of the output volume
# Find the vertical start and end of the current “slice” (≈2 lines))

1 Like

On each iteration, the starting indices need to advance by a multiple of the stride.