class_docstr: Unit tests for the ClusteringRegistry class.
class_docstr_tok: ["Unit","tests","for","the","ClusteringRegistry","class","."]
docstr: ClusterRegistry does not support a custom layer.
  
  When the layer is derived from a clusterable layer and has trainable
  weights.
docstr_tok: ["ClusterRegistry","does","not","support","a","custom","layer",".","When","the","layer","is","derived","from","a","clusterable","layer","and","has","trainable","weights","."]
code: def testDoesNotSupportCustomLayerInheritedFromClusterableLayer(self):
      """ClusterRegistry does not support a custom layer.
  
      When the layer is derived from a clusterable layer and has trainable
      weights.
      """
      custom_layer = (
          ClusterRegistryTest.CustomLayerFromClusterableLayer(10)
      )
      custom_layer.build(input_shape=(10, 10))
      self.assertFalse(ClusterRegistry.supports(custom_layer))
  
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 9 for calling the ClusterRegistryTest obj's underlying member method code with example usage: obj.testDoesNotSupportCustomLayerInheritedFromClusterableLayer() without return types