class_docstr: Unit tests for the ClusteringRegistry class.
class_docstr_tok: ["Unit","tests","for","the","ClusteringRegistry","class","."]
docstr: make_clusterable() cannot make layer clusterable.
  
  When the layer is a non-clusterable layer derived from a clusterable
  layer.
docstr_tok: ["make_clusterable","(",")","can","not","make","layer","clusterable",".","When","the","layer","is","a","non-clusterable","layer","derived","from","a","clusterable","layer","."]
code: def testMakeClusterableRaisesErrorForCustomLayerInheritedFromClusterableLayer(
      self,
  ):
      """make_clusterable() cannot make layer clusterable.
  
      When the layer is a non-clusterable layer derived from a clusterable
      layer.
      """
      l = ClusterRegistryTest.CustomLayerFromClusterableLayer(10)
      l.build(input_shape=(10, 10))
      with self.assertRaises(ValueError):
          ClusterRegistry.make_clusterable(l)
  
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 13 for calling the ClusterRegistryTest obj's underlying member method code with example usage: obj.testMakeClusterableRaisesErrorForCustomLayerInheritedFromClusterableLayer() without return types