I’m getting a really frustrating error. Wrong values. Not sure how to navigate this, but the shapes seem to be correct, and the code is essentially written for us. I poured over the code, and can’t seem to find what’s wrong
It looks like db is correct, but dA and dW are wrong. But looking over the code, the only part that was not overtly given to us was a_slice. From the description, " Where 𝑎_𝑠𝑙𝑖𝑐𝑒 corresponds to the slice which was used to generate the activation Z_ij" and the code comment “Use the corners to define the slice from a_prev_pad”, it seems correct to me. Does anyone see what’s wrong?
{Moderator Edit: Code Removed}