Course 4, Week 1, Assignment 1, conv_forward

I am getting the following error. It seems my a_slice_prev is not the right shape, but I can’t figure out why this is the case. Would really appreciate some help.

Try passing “weights” and “biases” to the conv_single_step() function, instead of ‘W’ and ‘b’.
That’s why you added code to create those two variables.

I tried this but I am getting a similar error.

Never mind. Found my mistake.