Methodforward Args: input: (batch, cin, seq_len) style: (batch, dim_style) Returns: (batch, cout, seq_len_out)
cdslib/core/nn/modules/filtered_conv.py:618
Methodforward Args: points: (b, m, k, 3) or (bm, k, 3), m: number of rays, n: number of neighbor points, xyz coord of points addit
pointersect/models/pointersect.py:222
Functiongrid_ray_intersectionCompute the intersection between grid cells and the ray. Args: ray_origins: (b, m, 3) ray_directions: (b, m, 3) ray_radius: (b,) grid_size: (b, 3) lo
pointersect/pr/cuda/pr_cuda.cpp:299
Functionind2sub Given linear index, return (i,j,k) Args: ind: # (*, n) long, x + y * sx + z * sx * sy (*, n) long, z + y *
pointersect/pr/naive.py:41
Functionind2subGiven linear index, return (i,j,k) Args: ind: (*, n) int64_t, z + y * sz + x * sy * sz size: (*, 3) int64_t Returns: (*, n, 3) int64_t
pointersect/pr/cpp/pr.cpp:129
Functionpsnr Calculate the PSNR metric. Non-differentiable. Args: rgb: (h, w, 3), in the range of [0, 1] gts: (h, w, 3), in the range of
plib/metrics.py:12