Week1 convolution step by step
VincentChong123 opened this issue · 0 comments
VincentChong123 commented
Hi,
thanks for sharing your file. For below code extracted from your file,
I propose changes below
a_prev_pad = A_prev[i] # Select ith training example's padded activation #your original
a_slice_prev = A_prev_pad[i, vert_start:vert_end, horiz_start:horiz_end, :] #your original
a_prev_pad = A_prev_pad[i] # Select ith training example's padded activation #my suggestion
a_slice_prev = a_prev_pad[vert_start:vert_end, horiz_start:horiz_end, :] #my suggestion
thanks.