code: def test_last_iter_clip_not_bool_raises(self, last_iter_clip):
      with self.assertRaisesRegexp(
          ValueError, "last_iter_clip must be a bool"
      ):
          kashin.KashinHadamardEncodingStage(
              last_iter_clip=last_iter_clip
          )
  
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 21 for calling the KashinHadamardEncodingStageTest obj's underlying member method code with example usage: obj.test_last_iter_clip_not_bool_raises(last_iter_clip) without return types