During debugging, I printed out the shape of a_slice_prev, which stayed at (3,3,4) for 16 iterations unntil it changed to (1,3,4) for another 8 iterations, and then turned into (0,3,4) and returned a broadcast error. I have no idea why this is happening, could someone give me a hint as to why this is happening?
1 Like
The most common problem in this assignment is not using the stride parameter correctly, with regard to the for-loops over the range of n_H and n_W.
2 Likes
Tom is right. Please check this step by step guide.
1 Like