Just because the error is thrown in conv_single_step
does not mean that is where the actual bug is, right? The problem is your code is passing incorrectly shaped objects to conv_single_step
. The bug is in your conv_forward
code. The most common errors have to do with not managing the stride correctly. Here’s a post that gives a good description of how the algorithm works.