class_docstr: Integration tests for clustering.
docstr: Verifies that default initialization method is KMEANS_PLUS_PLUS.
docstr_tok: ["Verifies","that","default","initialization","method","is","KMEANS_PLUS_PLUS","."]
code: def testDefaultClusteringInit(self):
      """Verifies that default initialization method is KMEANS_PLUS_PLUS."""
      original_model = keras.Sequential(
          [
              layers.Dense(5, input_shape=(5,)),
              layers.Dense(5),
          ]
      )
      clustered_model = cluster.cluster_weights(
          original_model, **self.params
      )
  
      for i in range(len(clustered_model.layers)):
          if hasattr(clustered_model.layers[i], "layer"):
              init_method = clustered_model.layers[i].get_config()[
                  "cluster_centroids_init"
              ]
              self.assertEqual(
                  init_method, CentroidInitialization.KMEANS_PLUS_PLUS
              )
  
imports: import os
  import tempfile
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.clustering.keras import cluster
  from tensorflow_model_optimization.python.core.clustering.keras import cluster_config
  from tensorflow_model_optimization.python.core.clustering.keras.experimental import cluster
label_desc: Use image node_id 8 for calling the ClusterIntegrationTest obj's underlying member method code with example usage: obj.testDefaultClusteringInit() without return types