class_docstr: Local Implicit Grid layer.
    
docstr: Interpolation function to get local latent code, weights & relative loc.
  
  Args:
    grid: `[batch_size, *self.size, in_features]` tensor, input feature grid.
    pts: `[batch_size, num_points, dim]` tensor, coordinates of points that
    are within the range (0, 1).
  Returns:
    lat: `[batch_size, num_points, 2**dim, in_features]` tensor, neighbor
    latent codes for each input point.
    weights: `[batch_size, num_points, 2**dim]` tensor, bi/tri-linear
    interpolation weights for each neighbor.
    xloc: `[batch_size, num_points, 2**dim, dim]`tensor, relative coordinates.
code: def _interp(self, grid, pts):
      """Interpolation function to get local latent code, weights & relative loc.
  
      Args:
        grid: `[batch_size, *self.size, in_features]` tensor, input feature grid.
        pts: `[batch_size, num_points, dim]` tensor, coordinates of points that
        are within the range (0, 1).
      Returns:
        lat: `[batch_size, num_points, 2**dim, in_features]` tensor, neighbor
        latent codes for each input point.
        weights: `[batch_size, num_points, 2**dim]` tensor, bi/tri-linear
        interpolation weights for each neighbor.
        xloc: `[batch_size, num_points, 2**dim, dim]`tensor, relative coordinates.
      """
      (
          lat,
          weights,
          xloc,
      ) = regular_grid_interpolation.get_interp_coefficients(
          grid,
          pts,
          min_grid_value=self.min_grid_value,
          max_grid_value=self.max_grid_value,
      )
      xloc *= self.x_location_max
  
      return lat, weights, xloc
  
file_path: graphics/tensorflow_graphics/projects/local_implicit_grid/core/local_implicit_grid_layer.py
imports: import tensorflow.compat.v1
  from tensorflow_graphics.projects.local_implicit_grid.core import implicit_nets
  from tensorflow_graphics.projects.local_implicit_grid.core import regular_grid_interpolation
label_desc: Use image node_id 3 for calling the LocalImplicitGrid obj's underlying member method code with example usage: obj._interp(grid, pts) and returns: lat,  weights,  xloc