ops.cpp 495 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
// Modifications licensed under:
// SPDX-FileCopyrightText: 2020 Division of Medical Image Computing, German Cancer Research Center (DKFZ), Heidelberg, Germany
// SPDX-License-Identifier: Apache-2.0
//
// Parts of this code are from torchvision licensed under
// SPDX-FileCopyrightText: Soumith Chintala 2016
// SPDX-License-Identifier: BSD-3-Clause


mibaumgartner's avatar
NMS  
mibaumgartner committed
10
11
12
13
14
15
#include <torch/extension.h>
#include "cpu/nms.cpp"

PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
  m.def("nms", &nms, "NMS C++ and/or CUDA");
}