As shown in the Keras Tutorial for Fine-Tuning of Transfer Learning.
Firstly it is shown to pass training = False so that the model is running in inference
training = False