code: def test_leaky_clip_by_value_backward(self, init, fn, expected_grad):
      t = tf.Variable([init])
      max_val = 1.0
      min_val = 0.0
      with tf.GradientTape() as tape:
          clip_t = leaky_clip_by_value.leaky_clip_by_value(
              t, min_val, max_val
          )
          f = fn(clip_t)
      grad = tape.gradient(f, t)
      clip_t_value = clip_t.numpy()
      self.assertAllEqual(grad.numpy(), expected_grad)
      self.assertGreaterEqual(clip_t_value, min_val)
      self.assertLessEqual(clip_t_value, max_val)
  
file_path: sonnet/sonnet/src/leaky_clip_by_value_test.py
imports: from absl.testing import parameterized
  from sonnet.src import leaky_clip_by_value
  from sonnet.src import test_utils
  import tensorflow
label_desc: Use image node_id 2 for calling the LeakyClipByValueTest obj's underlying member method code with example usage: obj.test_leaky_clip_by_value_backward(init, fn, expected_grad) without return types