docstr: Test the Jacobian of the spherical_to_cartesian_coordinates function.
docstr_tok: ["Test","the","Jacobian","of","the","spherical_to_cartesian_coordinates","function","."]
code: def test_spherical_to_cartesian_coordinates_jacobian_random(self):
      """Test the Jacobian of the spherical_to_cartesian_coordinates function."""
      tensor_size = np.random.randint(3)
      tensor_shape = np.random.randint(
          1, 10, size=(tensor_size)
      ).tolist()
      r_init = np.random.uniform(0.0, 10.0, size=tensor_shape + [1])
      theta_init = np.random.uniform(
          -np.pi / 2.0, np.pi / 2.0, size=tensor_shape + [1]
      )
      phi_init = np.random.uniform(
          -np.pi, np.pi, size=tensor_shape + [1]
      )
      data_init = np.stack((r_init, theta_init, phi_init), axis=-1)
  
      self.assert_jacobian_is_correct_fn(
          math_helpers.spherical_to_cartesian_coordinates, [data_init]
      )
  
imports: import sys
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow_graphics.math import math_helpers
  from tensorflow_graphics.util import asserts
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 12 for calling the MathTest obj's underlying member method code with example usage: obj.test_spherical_to_cartesian_coordinates_jacobian_random() without return types