kears model load with required layer code example
Example: load model keras
from tensorflow import keras
model = keras.models.load_model('path/to/location')
from tensorflow import keras
model = keras.models.load_model('path/to/location')