Course4 week 1 Deep Learning Specialization

conv_forward function passed second test but failed first test. Don’t know how to fix it

Please click my name and message your notebook as an attachment.

Here are some hints:

  1. Use stride when computing vert_start and horiz_start. Thinking about the number of steps the filter should move after every step will help.
  2. Calculations for vert_end and horiz_end requires rework. For example, if horiz_start = 2 and f=4, horiz_end=6. Use similar line of reasoning for vert_end.