code: def _test_layer_detection_on_model(self, model):
      pruner = pruners["level"](model)
      pruner.compress()
      layer_types = sorted(
          type(wrapper.layer).__name__ for wrapper in pruner.wrappers
      )
      assert layer_types == ["Conv2D", "Dense", "Dense"], layer_types
  
file_path: auptimizer/tests/compression/test_compressor_tf.py
imports: import unittest
  import sys
  import numpy
label_desc: Use image node_id 2 for calling the TfCompressorTestCase obj's underlying member method code with example usage: obj._test_layer_detection_on_model(model) without return types