code: def testSupportsKerasLayer(self):
      # test registered layer
      self.assertTrue(
          self.cluster_preserve_quantize_registry.supports(
              self.layer_dense
          )
      )
      self.assertTrue(
          self.cluster_preserve_quantize_registry.supports(
              self.layer_conv2d
          )
      )
      # test layer without training weights
      self.assertTrue(
          self.cluster_preserve_quantize_registry.supports(
              self.layer_relu
          )
      )
  
file_path: model-optimization/tensorflow_model_optimization/python/core/quantization/keras/collab_opts/cluster_preserve/cluster_preserve_quantize_registry_test.py
imports: import tensorflow
  from tensorflow_model_optimization.python.core.clustering.keras import clustering_registry
  from tensorflow_model_optimization.python.core.quantization.keras import quantize_config
  from tensorflow_model_optimization.python.core.quantization.keras.collab_opts.cluster_preserve import cluster_preserve_quantize_registry
  from tensorflow_model_optimization.python.core.quantization.keras.default_8bit import default_8bit_quantize_registry
label_desc: Use image node_id 2 for calling the ClusterPreserveQuantizeRegistryTest obj's underlying member method code with example usage: obj.testSupportsKerasLayer() without return types