I have looped over the dimensions of the output volume, accounted for stride inside the loops for the start and end, and also sliced W,b and a_prev_pad properly but I am still facing this issue. Please help!
Yeah, I have done that too in the for loop over the batch of training examples( i ). The a_prev_pad I was referring to was inside the for loop over the channels ( c ). I have read all the topics related to this error and my code accounts for all the fixes given in them but I’m still encountering the error.
in the loop, for every training entry, for every n_H, for every n_W and for ever n_C, I ran convolution on A_prev_pad[i, …].
Output says, not all tests passed.
I accounted for strides when I got the slice from A_prev_pad also. Anything else I need to do here? All my slices are of size (3, 3, 4) and W is of size (3, 3, 4) after slicing. b is (1, 1, 1)