class_docstr: Unit tests for the clustering_centroids module.
class_docstr_tok: ["Unit","tests","for","the","clustering_centroids","module","."]
docstr: Verifies that the given centroid initialization methods are supported.
docstr_tok: ["Verifies","that","the","given","centroid","initialization","methods","are","supported","."]
code: def testExistingInitsAreSupported(self, init_type):
      """Verifies that the given centroid initialization methods are supported."""
      self.assertTrue(self.factory.init_is_supported(init_type))
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.clustering.keras import cluster_config
  from tensorflow_model_optimization.python.core.clustering.keras import clustering_centroids
label_desc: Use image node_id 2 for calling the ClusteringCentroidsTest obj's underlying member method code with example usage: obj.testExistingInitsAreSupported(init_type) without return types