mmdeploy/backend_ops/tensorrt/trt_plugin.cpp

14 lines
459 B
C++
Raw Normal View History

#include "batched_nms/trt_batched_nms.hpp"
#include "nms/trt_nms.hpp"
#include "roi_align/trt_roi_align.hpp"
2021-06-15 20:44:45 +08:00
#include "scatternd/trt_scatternd.hpp"
REGISTER_TENSORRT_PLUGIN(TRTBatchedNMSPluginDynamicCreator);
REGISTER_TENSORRT_PLUGIN(NonMaxSuppressionDynamicCreator);
2021-06-15 20:44:45 +08:00
REGISTER_TENSORRT_PLUGIN(ONNXScatterNDDynamicCreator);
REGISTER_TENSORRT_PLUGIN(RoIAlignPluginDynamicCreator);
2021-06-15 20:44:45 +08:00
extern "C" {
bool initLibMMCVInferPlugins() { return true; }
} // extern "C"