title: Load model as an input layer and the whole model without any detail
body: <p>I would appreciate if someone can help me with my problem. I have trained and saved a model. Then, I want to load it again and make it untrainable. However, when I load it, it shows only an input layer plus the model as a subset. The following is my summary:</p>
  
  <pre><code>_________________________________________________________________
  Layer (type)                 Output Shape              Param #   
  =================================================================
  input_1 (InputLayer)         [(None, 9)]               0         
  _________________________________________________________________
  FORWARD (Model)              (None, 65, 6)             459486    
  =================================================================
  Total params: 459,486
  Trainable params: 459,486
  Non-trainable params: 0
  _________________________________________________________________
  </code></pre>
  
  <p>and this is the part of code when I load it:</p>
  
  <pre><code>if trained_model_path is not None:
      model = tf.keras.models.load_model(trained_model_path,
                                         custom_objects={'BilinearUpsampling1D':BilinearUpsampling1D})
      model.trainable = False
  </code></pre>
  
  <p>Firstly, I want to know why I do not have a detailed summary of my loaded model which is saved using a simple model_save command.</p>
  
  <p>Secondly, when I set my variables to be untrainable, it will show in the summary that I have double amount of parameters which half of them are trainable and the other half are not as follows:</p>
  
  <pre><code>_________________________________________________________________
  Model: "model"
  _________________________________________________________________
  Layer (type)                 Output Shape              Param #   
  =================================================================
  input_1 (InputLayer)         [(None, 9)]               0         
  _________________________________________________________________
  FORWARD (Model)              (None, 65, 6)             459486    
  =================================================================
  Total params: 918,972
  Trainable params: 459,486
  Non-trainable params: 459,486
  _________________________________________________________________
  </code></pre>
  
  <p>I believe this comes from the fact that my loaded model here is a submodel of the original one. However, I have no idea. Please let me know if someone can help me in this regard.</p>
  
  <p>Thank you so much.
  Regards,</p>
  
  <p>P.S. I am using tensorflow 2.</p>