code: def _get_model(self, model_type):
      model_fn = [
          y
          for x, y in inspect.getmembers(tf.keras.applications)
          if x == model_type
      ][0]
  
      input_shape = QuantizeModelsTest._MODEL_INPUT_SHAPES.get(
          model_type, (32, 32, 3)
      )
  
      return model_fn(weights=None, input_shape=input_shape)
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/quantize_models_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  import tempfile
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras import quantize
  from tensorflow_model_optimization.python.core.quantization.keras import utils
label_desc: Use image node_id 2 for calling the QuantizeModelsTest obj's underlying member method code with example usage: obj._get_model(model_type) and returns: model_fn