Hello there,
Sorry, I have been struggling for several days now regarding the programming assignment of the fwd convolution of C4 W1 and still cannot get it to work. My problem, according to the replies I have received in the forum, has to do with the dimensions.
To solve the problem, I am trying to figure out the following programing request from the exercise:
# Retrieve dimensions from W's shape (≈1 line)
# (f, f, n_C_prev, n_C) = None
I already retrieved the dimensions from the shape of W, but do the dimensions mean the following?
# (f, f, n_C_prev, n_C) = (height, width, channels, number of filters)
I need this understanding to construct the nested loops, which are crashing on the second pass of the calculation of conv_single_step func
with an TypeError: only size-1 arrays can be converted to Python scalars
error.
Thank you very much
Jonathan