docstr: Tests the Jacobian of the transform function.
docstr_tok: ["Tests","the","Jacobian","of","the","transform","function","."]
code: def test_perspective_transform_jacobian_random(self):
      """Tests the Jacobian of the transform function."""
      tensor_shape = np.random.randint(2, 4, size=4)
      image_init = np.random.uniform(
          0.0, 1.0, size=tensor_shape.tolist()
      )
      transformation_init = np.random.uniform(
          0.0, 1.0, size=(tensor_shape[0], 3, 3)
      )
  
      self.assert_jacobian_is_correct_fn(
          lambda x: transformer.perspective_transform(
              x, transformation_init
          ),
          [image_init],
      )
      self.assert_jacobian_is_correct_fn(
          lambda x: transformer.perspective_transform(image_init, x),
          [transformation_init],
      )
  
file_path: graphics/tensorflow_graphics/image/tests/transformer_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_addons import image
  from tensorflow_graphics.image import transformer
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 5 for calling the TransformerTest obj's underlying member method code with example usage: obj.test_perspective_transform_jacobian_random() without return types