PointMLP/pointnet2_ops_lib/pointnet2_ops/_ext-src/include/sampling.h
2021-10-04 03:25:18 -04:00

7 lines
260 B
C

#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);