Covnets Week 2 coding assignment

I am on the week two coding assignment and I keep getting this error: AssertionError: Wrong values when training=False. I am having trouble finding the cause of this error. Any help is greatly appreciated! Here is my code:

{moderator edit - solution code removed}

In just a quick look, it appears you have made one of the most common mistakes on this function. What is the input to the “shortcut” step? You are using X. Maybe the verbiage in the instructions is not so clear, but have a look at the diagrams. The picture is worth a lot of words in terms of how the shortcuts work here.


thank you!