code: def test_last_iter_clip_tensor_raises(self):
      with self.assertRaisesRegexp(ValueError, "last_iter_clip"):
          kashin.KashinHadamardEncodingStage(
              last_iter_clip=tf.constant(True, dtype=tf.bool)
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import itertools
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.stages.research import kashin
  from tensorflow_model_optimization.python.core.internal.tensor_encoding.testing import test_utils
label_desc: Use image node_id 20 for calling the KashinHadamardEncodingStageTest obj's underlying member method code with example usage: obj.test_last_iter_clip_tensor_raises() without return types