Course 4: week 2: assignment 1: Exercise 3: ResNet50

It works the same way here as it did over in MLS. Having the code sitting there in a cell does nothing: you have to run it (Cell → Run All Above) for the functions to be defined. And you have to do this everytime you close and reopen the notebook or do “Kernel → Restart”.