code: def _sampling_points_in_volume(sampling_points, voxel_size):
      """Transforms the sampling points from [-1, 1] to [0, voxel_size]."""
      voxel_size = tf.convert_to_tensor(value=voxel_size)
      max_size = tf.cast(voxel_size - 1, sampling_points.dtype)
      return 0.5 * ((sampling_points + 1) * max_size)
  
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 3 for calling a global function with example usage: _sampling_points_in_volume(sampling_points, voxel_size) and returns: unknown