Convolutional Neural Networks W1 Exercise 3 - index 4 is out of bounds for axis 3 with size 4

I got error like this, I tried several solutions from this page but nothing happens.


The error might be in the a_slice_prev, but i don’t know what to do after several revision. And the error is still the same.

Please check this guide.

Thanks a lot, I figured it out!