DLS 2 week2 assignment Model with different Optimization algorithms

I have some trouble with chapter 6.1 in the assignment of week 2, which doesn’t include an exercise for this assignment; where the model doesn’t run. I don’t change the code and the sample code is still revived, why my model doesn’t work, please help me.

Many thanks,

Please check your implementation. Before invoking backward_propagation, ensure that minibatch_X.shape is of the form (2, batch size).

Thank you a lot, I have solved this problem.