how to Cut the keras model in the middle and just print the output? 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')