PointMLP/pointnet2_ops_lib/pointnet2_ops/_ext-src/include/sampling.h

7 lines
260 B
C
Raw Normal View History

2021-10-04 07:25:18 +00:00
#pragma once
#include <torch/extension.h>
at::Tensor gather_points(at::Tensor points, at::Tensor idx);
at::Tensor gather_points_grad(at::Tensor grad_out, at::Tensor idx, const int n);
at::Tensor furthest_point_sampling(at::Tensor points, const int nsamples);