[enco] Add caffe 008 test (#1324)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 4 Sep 2018 08:41:14 +0000 (17:41 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 4 Sep 2018 08:41:14 +0000 (17:41 +0900)
This commit introduces caffe 008 testcase which checks whether enco can
correctly compile a simple caffe network that consists of a single Max
pooling layer with stride.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/enco/test/caffe/008/BUILD [new file with mode: 0644]
contrib/enco/test/caffe/008/INFERENCE [new file with mode: 0644]
contrib/enco/test/caffe/008/test.prototxt [new file with mode: 0644]

diff --git a/contrib/enco/test/caffe/008/BUILD b/contrib/enco/test/caffe/008/BUILD
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/enco/test/caffe/008/INFERENCE b/contrib/enco/test/caffe/008/INFERENCE
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/enco/test/caffe/008/test.prototxt b/contrib/enco/test/caffe/008/test.prototxt
new file mode 100644 (file)
index 0000000..1ecbb96
--- /dev/null
@@ -0,0 +1,17 @@
+layer {
+  name: "data"
+  type: "Input"
+  top: "data"
+  input_param { shape: { dim: 1 dim: 3 dim: 15 dim: 15 } }
+}
+layer {
+  name: "pool"
+  type: "Pooling"
+  bottom: "data"
+  top: "pool"
+  pooling_param {
+    pool: MAX
+    kernel_size: 3
+    stride: 2
+  }
+}