class_docstr: Tests correctness of the softclip transformation.
class_docstr_tok: ["Tests","correctness","of","the","softclip","transformation","."]
code: def test_variable_gradients(self):
      b = soft_clip.SoftClip(
          low=tf.Variable(2.0), high=tf.Variable(6.0)
      )
      with tf.GradientTape() as tape:
          y = b.forward(0.1)
      self.assertAllNotNone(tape.gradient(y, b.trainable_variables))
  
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 5 for calling the _SoftClipBijectorBase obj's underlying member method code with example usage: obj.test_variable_gradients() without return types