code: def dda(rays_o, rays_d, bbox_3D):
      inv_ray_d = 1.0 / (rays_d + 1e-6)
      t_min = (bbox_3D[:1] - rays_o) * inv_ray_d  # N_rays 3
      t_max = (bbox_3D[1:] - rays_o) * inv_ray_d
      t = torch.stack((t_min, t_max))  # 2 N_rays 3
      t_min = torch.max(torch.min(t, dim=0)[0], dim=-1, keepdim=True)[0]
      t_max = torch.min(torch.max(t, dim=0)[0], dim=-1, keepdim=True)[0]
      return t_min, t_max
  
file_path: slimmerf/dataLoader/ray_utils.py
imports: import torch, re
  import numpy
  from torch import searchsorted
  from kornia import create_meshgrid
label_desc: Use image node_id 9 for calling a global function with example usage: dda(rays_o, rays_d, bbox_3D) and returns: t_min,  t_max