code: def test_hotflip_changes_pred_class(self):
      config = _CONFIG_CLASSIFICATION
      ex = _SST2_EXAMPLE
  
      ex_output = list(self.classification_model.predict([ex]))[0]
      pred_class = str(np.argmax(ex_output["probas"]))
      cfs = self.hotflip.generate(
          ex, self.classification_model, None, config
      )
      cf_outputs = self.classification_model.predict(cfs)
  
      self.assertEqual("0", pred_class)
      for cf_output in cf_outputs:
          self.assertNotEqual(
              np.argmax(ex_output["probas"]),
              np.argmax(cf_output["probas"]),
          )
  
file_path: lit/lit_nlp/components/hotflip_int_test.py
imports: from absl.testing import absltest
  from absl.testing import parameterized
  from lit_nlp.components import hotflip
  from lit_nlp.examples.models import glue_models
  import numpy
  from lit_nlp.lib import file_cache
label_desc: Use image node_id 10 for calling the HotflipIntegrationTest obj's underlying member method code with example usage: obj.test_hotflip_changes_pred_class() without return types