in conv_forward() the steps executed are as follows:
- get previous activation
loop over slices- get a slice from previous activation
loop over filters:- convolve the slice with all the channels, i.e all the filters
- move to the next slice
- get a slice from previous activation
While in the provided video in the assignment the sequence of execution is different and is as follows:
- get a previous activation
loop over filters:
loop over slices:
- get a slice from the previous activation
- convolve the slice with current filter
- move to the next slice
I know the outcome is the same but I find it confusing when watching the video and then trying to write the code in conv_forward()