Cell #16. Can't compile the student's code. Error: AssertionError('Error in test')

Hello Everyone. I am working on week 2 assignment 2 for Convolutional Neural Network. Even though I passed all the test cases. I have tried several times still get the same result. How to resolve this problem?
Thank you in advance!

The test cases do not catch all possible errors in your code.
Something in your notebook is causing the grader to crash.

Right! The types of errors that will pass the tests in the notebook and fail the grader are things like “hard-coding” dimensions to the dimensions that happen to match the test cases in the notebook. Or referencing global variables that are defined in the notebook instead of the parameters being passed into your functions.