Help! I got the value mismatch error and I can’t figure out why
Moderator edit, code removed.
The comment in the code says
# select ith training example from A_prev_pad and dA_prev_pad
but your code selects from A_prev_pad
and…oops
Omg, such a silly mistake. Thanks for spotting that for me!! It now works just fine
For the record, you’re not supposed to paste code into the forum threads regardless of whether it is working or not. A moderator will likely remove it. Or you can. The code that leaks through around the error message is OK, but sharing your function implementation is a faux pas.