class_docstr: Unit tests for the ClusteringRegistry class.
class_docstr_tok: ["Unit","tests","for","the","ClusteringRegistry","class","."]
docstr: make_clusterable() makes a built-in non-clusterable layer clusterable.
docstr_tok: ["make_clusterable","(",")","makes","a","built-in","non-clusterable","layer","clusterable","."]
code: def testMakeClusterableWorksOnKerasNonClusterableLayer(self):
      """make_clusterable() makes a built-in non-clusterable layer clusterable."""
      layer = layers.Dropout(0.5)
      with self.assertRaises(AttributeError):
          layer.get_clusterable_weights()
  
      ClusterRegistry.make_clusterable(layer)
  
      self.assertEqual([], layer.get_clusterable_weights())
  
imports: from absl.testing import parameterized
  import tensorflow
  from tensorflow_model_optimization.python.core.clustering.keras import clusterable_layer
  from tensorflow_model_optimization.python.core.clustering.keras import clustering_registry
  from tensorflow_model_optimization.python.core.clustering.keras.cluster_config import GradientAggregation
label_desc: Use image node_id 15 for calling the ClusterRegistryTest obj's underlying member method code with example usage: obj.testMakeClusterableWorksOnKerasNonClusterableLayer() without return types