docstr: Tests whether jacobian is correct.
docstr_tok: ["Tests","whether","jacobian","is","correct","."]
code: def test_interpolate_jacobian_random(
      self, dim_points, num_points, num_outputs, num_pts_to_interpolate
  ):
      """Tests whether jacobian is correct."""
      points_np, weights_np, indices_np = self._get_tensors_from_shapes(
          num_points, dim_points, num_outputs, num_pts_to_interpolate
      )
  
      def interpolate_fn(points, weights):
          return weighted.interpolate(
              points=points,
              weights=weights,
              indices=indices_np,
              normalize=True,
          )
  
      self.assert_jacobian_is_correct_fn(
          interpolate_fn, [points_np, weights_np]
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  from six.moves import range
  import tensorflow
  from tensorflow_graphics.math.interpolation import weighted
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 7 for calling the WeightedTest obj's underlying member method code with example usage: obj.test_interpolate_jacobian_random(dim_points, num_points, num_outputs, num_pts_to_interpolate) and returns: weighted