(self, xyz, n_xyz)
| 15 | |
| 16 | @torch.no_grad() |
| 17 | def linearize_id(self, xyz, n_xyz): |
| 18 | return xyz[:, 2] + n_xyz[-1] * xyz[:, 1] + (n_xyz[-1] * n_xyz[-2]) * xyz[:, 0] |
| 19 | |
| 20 | @torch.no_grad() |
| 21 | def downsample_points(self, points, voxel_size=0.01): |
nothing calls this directly
no outgoing calls
no test coverage detected