Add File
This commit is contained in:
20
pcdet/ops/iou3d_nms/src/iou3d_nms_api.cpp
Normal file
20
pcdet/ops/iou3d_nms/src/iou3d_nms_api.cpp
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#include <torch/serialize/tensor.h>
|
||||||
|
#include <torch/extension.h>
|
||||||
|
#include <vector>
|
||||||
|
#include <cuda.h>
|
||||||
|
#include <cuda_runtime_api.h>
|
||||||
|
|
||||||
|
#include "iou3d_cpu.h"
|
||||||
|
#include "iou3d_nms.h"
|
||||||
|
|
||||||
|
|
||||||
|
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
|
||||||
|
m.def("boxes_aligned_overlap_bev_gpu", &boxes_aligned_overlap_bev_gpu, "aligned oriented boxes overlap");
|
||||||
|
m.def("boxes_overlap_bev_gpu", &boxes_overlap_bev_gpu, "oriented boxes overlap");
|
||||||
|
m.def("paired_boxes_overlap_bev_gpu", &paired_boxes_overlap_bev_gpu, "oriented boxes overlap");
|
||||||
|
m.def("boxes_iou_bev_gpu", &boxes_iou_bev_gpu, "oriented boxes iou");
|
||||||
|
m.def("nms_gpu", &nms_gpu, "oriented nms gpu");
|
||||||
|
m.def("nms_normal_gpu", &nms_normal_gpu, "nms gpu");
|
||||||
|
m.def("boxes_aligned_iou_bev_cpu", &boxes_aligned_iou_bev_cpu, "aligned oriented boxes iou");
|
||||||
|
m.def("boxes_iou_bev_cpu", &boxes_iou_bev_cpu, "oriented boxes iou");
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user