class_docstr: Integration tests for clustering.
code: def _get_number_of_unique_weights(
      self, stripped_model, layer_nr, weight_name
  ):
      layer = stripped_model.layers[layer_nr]
      weight = getattr(layer, weight_name)
      weights_as_list = weight.numpy().flatten()
      nr_of_unique_weights = len(set(weights_as_list))
      return nr_of_unique_weights
  
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 7 for calling the ClusterIntegrationTest obj's underlying member method code with example usage: obj._get_number_of_unique_weights(stripped_model, layer_nr, weight_name) and returns: nr_of_unique_weights