[enco] Add Sub test case (#2713)
author윤지영/On-Device Lab(SR)/Engineer/삼성전자 <jy910.yun@samsung.com>
Thu, 3 Jan 2019 01:29:41 +0000 (10:29 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Thu, 3 Jan 2019 01:29:41 +0000 (10:29 +0900)
This commit add Sub test case for enco

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
contrib/enco/test/tflite/Sub_000/INFERENCE [new file with mode: 0644]
contrib/enco/test/tflite/Sub_000/test.recipe [new file with mode: 0644]

diff --git a/contrib/enco/test/tflite/Sub_000/INFERENCE b/contrib/enco/test/tflite/Sub_000/INFERENCE
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/enco/test/tflite/Sub_000/test.recipe b/contrib/enco/test/tflite/Sub_000/test.recipe
new file mode 100644 (file)
index 0000000..0397c9c
--- /dev/null
@@ -0,0 +1,27 @@
+operand {
+  name: "ifm1"
+  type: FLOAT32
+  shape { dim: 1 dim: 5 dim:2 dim:3 }
+}
+operand {
+  name: "ifm2"
+  type: FLOAT32
+  shape { dim: 1 dim: 5 dim:2 dim:3 }
+}
+operand {
+  name: "ofm"
+  type: FLOAT32
+  shape { dim: 1 dim: 5 dim:2 dim:3 }
+}
+operation {
+  type: "Sub"
+  sub_options {
+    activation: NONE
+  }
+  input: "ifm1"
+  input: "ifm2"
+  output: "ofm"
+}
+input: "ifm1"
+input: "ifm2"
+output: "ofm"