docstr: Tests whether jacobian is correct.
docstr_tok: ["Tests","whether","jacobian","is","correct","."]
code: def test_interpolate_jacobian_random(
      self, bsize, height, width, depth, channels
  ):
      """Tests whether jacobian is correct."""
      grid_3d_np = np.random.uniform(
          size=(bsize, height, width, depth, channels)
      )
      sampling_points_np = np.zeros((bsize, height * width * depth, 3))
      sampling_points_np[:, :, 0] = np.arange(0, height * width * depth)
  
      self.assert_jacobian_is_correct_fn(
          lambda grid_3d: trilinear.interpolate(
              grid_3d, sampling_points_np
          ),
          [grid_3d_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.geometry.representation import grid
  from tensorflow_graphics.geometry.transformation import rotation_matrix_3d
  from tensorflow_graphics.math.interpolation import trilinear
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 5 for calling the TrilinearTest obj's underlying member method code with example usage: obj.test_interpolate_jacobian_random(bsize, height, width, depth, channels) without return types