Thank you for your kind reply, Oli.
I see that the code tries to check and gather the appropriate layers from the existing pretrained model to be included in our model.
So it seems that e.g. if the loaded model have excluded batch normalization then our model will also be or like that.
It is quite a nice and helpful function!
Thank you very much:)