[coco] Introduce UnaryOp trait (#1853)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 12 Oct 2018 07:56:19 +0000 (16:56 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 12 Oct 2018 07:56:19 +0000 (16:56 +0900)
commite3e000bc48a7195c3296adeb00f9cf6271c5fe88
treed9f1a0f649f483a0e48bbcd2f05e1d2f69f41e6a
parentb817ef93b63a01edba16c2efb39492da8221de3d
[coco] Introduce UnaryOp trait (#1853)

This commit introduces UnaryOp traits, and simplifies the implementation
and declaration of several existing operation classes, such as ReLU and
PadF.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/coco/core/include/coco/IR/Op.h
contrib/coco/core/include/coco/IR/Ops.h
contrib/coco/core/src/IR/AvgPool2D.cpp [deleted file]
contrib/coco/core/src/IR/MaxPool2D.cpp [deleted file]
contrib/coco/core/src/IR/Op.cpp
contrib/coco/core/src/IR/PadF.cpp [deleted file]
contrib/coco/core/src/IR/ReLU.cpp [deleted file]