Course 4, Week 1, Assignment 1, Exercise 3

I’m confused by the comment embedded in the starter code for this problem.

At the start of the second loop, the comment says " # loop over vertical axis of the output volume" but the next lines refer to vert_start and vert_end which is referring to the input layer (a_prev_pad).

Do I have this right? The next comment says “# Find the vertical start and end of the current "slice" (≈2 lines)” but it’s ambiguous to me if that’s for the output or input layer. Another post refers to vert_end as h + f but that seems to conflate output and input.

My assumptions were right and I figured it out. We have to come up with the relationship between the input and output.