code: def test_layer_detection(self):
      # Conv and dense layers should be compressed, pool and flatten should not.
      # This also tests instrumenting functionality.
      self._test_layer_detection_on_model(CnnModel())
      self._test_layer_detection_on_model(build_sequential_model())
  
file_path: auptimizer/tests/compression/test_compressor_tf.py
imports: import unittest
  import sys
  import numpy
label_desc: Use image node_id 1 for calling the TfCompressorTestCase obj's underlying member method code with example usage: obj.test_layer_detection() without return types