Optimization Methods assignment is failing hidden tests without any feedback

The problem was the notebook’s tests failed to catch an error in the dimensions of the last mini-batch returned by random_mini_batches (Exercise 2 - random_mini_batches).

The correct dimensions are:

dims