code: def geometry_guided_near_far(orig, dir, vert, geo_threshold):
      if isinstance(orig, torch.Tensor):
          return geometry_guided_near_far_torch(
              orig, dir, vert, geo_threshold
          )
      elif isinstance(orig, np.ndarray):
          return geometry_guided_near_far_np(
              orig, dir, vert, geo_threshold
          )
  
file_path: ml-neuman/utils/ray_utils.py
imports: import numpy
  import torch
  import igl
  from geometry.pcd_projector import PointCloudProjectorNp
  from utils.constant import DEFAULT_GEO_THRESH, PERTURB_EPSILON
label_desc: Use image node_id 10 for calling a global function with example usage: geometry_guided_near_far(orig, dir, vert, geo_threshold) and returns: geometry_guided_near_far_torch, geometry_guided_near_far_np