title: Can I remove layers in a pre-trained Keras model?
body: <p>I'm importing a pre-trained VGG model in Keras, with </p>
  
  <pre><code>from keras.applications.vgg16 import VGG16
  </code></pre>
  
  <p>I've noticed that the type of a standard model is <code>keras.models.Sequential</code>, while a pre-trained model is <code>keras.engine.training.Model</code>. I usually add and remove layers with <code>add</code> and <code>pop</code> for sequential models respectively, however, I cannot seem to use <code>pop</code> with pre-trained models.</p>
  
  <p>Is there an alternative to <code>pop</code> for these type of models?</p>