q.yao 04a8046864
[Feature] add register for ort custom op (#21)
* add register for ort custom op

* ort_mmcv_util->ort_util

* ortApi->kOrtApi
2021-07-23 17:16:07 +08:00

10 lines
189 B
C++

#include "ort_utils.h"
namespace mmlab {
std::vector<OrtCustomOp*>& get_mmlab_custom_ops() {
static std::vector<OrtCustomOp*> _custom_ops;
return _custom_ops;
}
} // namespace mmlab