1#include <torch/extension.h> 2 3template <typename scalar_t> 4at::Tensor poly_nms_cpu_kernel(const at::Tensor& dets, const float threshold) { 5 6 7