This commit implements 'create' method for 'MaxPool2D' op in
'OpManager'.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
#include "coco/IR/Op.h"
#include "coco/IR/Conv2D.h"
+#include "coco/IR/MaxPool2D.h"
#include "coco/IR/ReLU.h"
#include "coco/IR/Instr.forward.h"
return take(make_unique<Conv2D>(_op_link, _obj_link));
}
+template <> MaxPool2D *OpManager::create<MaxPool2D>(void)
+{
+ return take(make_unique<MaxPool2D>(_op_link));
+}
+
template <> ReLU *OpManager::create<ReLU>(void) { return take(make_unique<ReLU>(_op_link)); }
} // namespace coco