code: def testDoesNotMatchForever_IfReplacementEqualsMatch(
      self, model_type
  ):
      class ReplaceWithSelf(Transform):
          def pattern(self):
              return LayerPattern(
                  "ReLU", inputs=[LayerPattern("Dense")]
              )
  
          def replacement(self, match_layer):
              return match_layer
  
      model = self._simple_dense_model(model_type)
  
      transformed_model, _ = ModelTransformer(
          model, [ReplaceWithSelf()]
      ).transform()
  
      # build_input_shape is a TensorShape object and the two objects are not
      # considered the same even though the shapes are the same.
      self._assert_config(
          model.get_config(),
          transformed_model.get_config(),
          ["build_input_shape"],
      )
  
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 21 for calling the ModelTransformerTest obj's underlying member method code with example usage: obj.testDoesNotMatchForever_IfReplacementEqualsMatch(model_type) and returns: LayerPattern, match_layer