code: def generate_random_test_ray_render():
      """Generates random test for the voxels rendering functions."""
      batch_shape = np.random.randint(1, 3)
      n_rays = np.random.randint(1, 512)
      random_ray_values = np.random.uniform(
          size=[batch_shape] + [n_rays, 4]
      )
      random_ray_dists = random_ray_values[..., -1]
      return random_ray_values, random_ray_dists
  
file_path: graphics/tensorflow_graphics/rendering/volumetric/tests/ray_radiance_test.py
imports: from absl.testing import flagsaver
  from absl.testing import parameterized
  import numpy
  from tensorflow_graphics.rendering.volumetric import ray_radiance
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 1 for calling a global function with example usage: generate_random_test_ray_render() and returns: random_ray_values,  random_ray_dists