Convolution network Week1 Assignment

Week 1 Convolution Neural network

3.3 - Convolutional Neural Networks - Forward Pass

Exercise 3 - conv_forward

for h in range(None): # loop over vertical axis of the output volume
for this line it says loop over vertical axis of the output volume? I thought we suppose to loop over the a_previous since that is the input volume that we are trying to do the convolution on?

The loops are over the output space and you must touch each location there. Then the question is computing where each position maps back to in the input space. The striding happens in the input space, not the output space.

Thank you for your response, I was thinking about it while working out as well and i forgot to consider the stride. Thanks again for the response it was very helpful.