[coco] Add 'Op' class (#699)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 18 Jul 2018 04:04:13 +0000 (13:04 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 18 Jul 2018 04:04:13 +0000 (13:04 +0900)
This commit adds 'Op' class which serves as a base interface over all
supported NN operations.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/coco/core/include/coco/IR/Op.h [new file with mode: 0644]
contrib/coco/core/src/IR/Op.cpp [new file with mode: 0644]

diff --git a/contrib/coco/core/include/coco/IR/Op.h b/contrib/coco/core/include/coco/IR/Op.h
new file mode 100644 (file)
index 0000000..7bcbc8d
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef __COCO_IR_OP_H__
+#define __COCO_IR_OP_H__
+
+namespace coco
+{
+
+/**
+ * @breif Base interface on all supported NN operations
+ */
+struct Op
+{
+  virtual ~Op() = default;
+};
+
+} // namespace coco
+
+#endif // __COCO_IR_OP_H__
diff --git a/contrib/coco/core/src/IR/Op.cpp b/contrib/coco/core/src/IR/Op.cpp
new file mode 100644 (file)
index 0000000..543eeb9
--- /dev/null
@@ -0,0 +1,3 @@
+#include "coco/IR/Op.h"
+
+// NOTE Do NOT delete this file; this file checks the completeness of 'Op.h'