code: def testSupportsClusterDefault8bitQuantizeKerasLayers(self):
      # ClusterPreserveQuantize supported layer, must be suppoted
      # by both Cluster and Quantize
      cqat_layers_config_map = (
          self.cluster_preserve_quantize_registry._LAYERS_CONFIG_MAP
      )
      for cqat_support_layer in cqat_layers_config_map:
          if cqat_layers_config_map[
              cqat_support_layer
          ].weight_attrs and (
              cqat_layers_config_map[
                  cqat_support_layer
              ].quantize_config_attrs
          ):
              self.assertIn(
                  cqat_support_layer,
                  self.cluster_registry._LAYERS_WEIGHTS_MAP,
                  msg="Clusteirng doesn't support {}".format(
                      cqat_support_layer
                  ),
              )
              self.assertIn(
                  cqat_support_layer,
                  self.default_8bit_quantize_registry._layer_quantize_map,
                  msg="Default 8bit QAT doesn't support {}".format(
                      cqat_support_layer
                  ),
              )
  
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 ClusterPreserveDefault8bitQuantizeRegistryTest obj's underlying member method code with example usage: obj.testSupportsClusterDefault8bitQuantizeKerasLayers() without return types