class_docstr: Tests correctness of the softclip transformation.
class_docstr_tok: ["Tests","correctness","of","the","softclip","transformation","."]
code: def test_raises_exception_on_invalid_params(self):
      with self.assertRaisesRegex(
          tf.errors.InvalidArgumentError,
          "Argument `high` must be greater than `low`",
      ):
          b = soft_clip.SoftClip(5.0, 3.0, validate_args=True)
  
      with self.assertRaisesOpError(
          "Argument `high` must be greater than `low`"
      ):
          low = tf.Variable(0.0)
          self.evaluate(low.initializer)
          b = soft_clip.SoftClip(low, 3.0, validate_args=True)
          with tf.control_dependencies([low.assign(5.0)]):
              self.evaluate(b.forward(4.0))
  
file_path: probability/tensorflow_probability/python/bijectors/soft_clip_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import soft_clip
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the _SoftClipBijectorBase obj's underlying member method code with example usage: obj.test_raises_exception_on_invalid_params() without return types