Functioncollect_points_on_rayGiven ray2gidx and gidx2pidx, construct ray2pidxs. Args: ray2gidx: (b, m, n_gidxs), gidx can be outside the grid n_ray2gidx: (b, m), number of neighb
pointersect/pr/cuda/pr_cuda.cpp:357
Functionconstruct_onehot_vectors Given labels :param labels: (seq_len, batch_size,), (batch_size,), or (*) int, [0, total_classes-1] :param total_classes: total number of
cdslib/core/nn/nn_utils.py:294
Functioncreate_gif Create a gif from the images Args: images: (n, h, w, 3) or list of (h, w, 3), float, range = 0-1 filename:
plib/render.py:467
Functioncreate_video Create a video from the images Args: images: (n, h, w, 3) or list of (h, w, 3), float, range = 0-1 filename:
plib/render.py:794
Functionfind_neighbor_points_of_rays_brute_force(
points: torch.Tensor, # (b, n, 3)
ray_origins: torch.Tensor, # (b, m, 3)
ray_direc
pointersect/pr/naive.py:503