docstr: Tests that the kmeans component is created with every run.
docstr_tok: ["Tests","that","the","kmeans","component","is","created","with","every","run","."]
code: def test_clustering_create_new_kmeans(self):
      """Tests that the kmeans component is created with every run."""
      config = {
          salience_clustering.SALIENCE_MAPPER_KEY: "Grad L2 Norm",
          salience_clustering.N_CLUSTERS_KEY: 2,
          salience_clustering.TOP_K_TOKENS_KEY: 2,
      }
      grad_key = "input_embs_grad"
      (
          _,
          clustering_component,
          inputs,
          model,
          dataset,
          model_outputs,
      ) = self._call_classification_model_on_standard_input(
          config, grad_key
      )
      kmeans_call_1 = clustering_component.kmeans[grad_key]
      clustering_component.run(
          inputs, model, dataset, model_outputs, config
      )
      kmeans_call_2 = clustering_component.kmeans[grad_key]
      self.assertIsNot(kmeans_call_1, kmeans_call_2)
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.api import dataset
  from lit_nlp.api import dtypes
  from lit_nlp.components import gradient_maps
  from lit_nlp.components import lime_explainer
  from lit_nlp.components import salience_clustering
  from lit_nlp.lib import testing_utils
  import numpy
label_desc: Use image node_id 6 for calling the SalienceClusteringTest obj's underlying member method code with example usage: obj.test_clustering_create_new_kmeans() without return types