MNN/express/module/NMSModule.hpp

31 lines
602 B
C++
Raw Normal View History

2022-01-04 10:50:40 +08:00
//
// NMSModule.hpp
// MNN
//
2025-01-22 14:47:50 +08:00
// Created by MNN on 2020/09/10.
2022-01-04 10:50:40 +08:00
// Copyright © 2018, Alibaba Group Holding Limited
//
2025-01-22 14:47:50 +08:00
2022-01-04 10:50:40 +08:00
#ifndef NMSModule_hpp
#define NMSModule_hpp
#include <MNN/expr/Module.hpp>
2022-05-06 19:51:20 +08:00
#include "core/Schedule.hpp"
2022-01-04 10:50:40 +08:00
namespace MNN {
namespace Express {
class NMSModule : public Module {
public:
virtual ~ NMSModule() {
// Do nothing
}
virtual std::vector<Express::VARP> onForward(const std::vector<Express::VARP>& inputs) override;
2022-12-30 15:18:58 +08:00
static NMSModule* create(const Op* op);
2022-01-04 10:50:40 +08:00
private:
NMSModule(){}
Module* clone(CloneContext* ctx) const override;
};
}
}
#endif