code: def _get_layer(self, model, n_excluding_input, model_type):
      # Argument n excludes the input layer.
      if model_type == "functional":
          return model.layers[n_excluding_input + 1]
      else:
          return model.layers[n_excluding_input]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import utils
  from tensorflow_model_optimization.python.core.quantization.keras.graph_transformations import model_transformer
  from tensorflow_model_optimization.python.core.quantization.keras.graph_transformations import transforms
label_desc: Use image node_id 2 for calling the ModelTransformerTest obj's underlying member method code with example usage: obj._get_layer(model, n_excluding_input, model_type) and returns: model, model