[enco] Add test case for Div operation (#2812)
author박천교/On-Device Lab(SR)/Engineer/삼성전자 <ch.bahk@samsung.com>
Fri, 11 Jan 2019 00:19:29 +0000 (09:19 +0900)
committer박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 11 Jan 2019 00:19:29 +0000 (09:19 +0900)
This commit adds test case for Div support in enco

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
contrib/enco/test/tflite/Div_000/INFERENCE [new file with mode: 0644]
contrib/enco/test/tflite/Div_000/test.recipe [new file with mode: 0644]

diff --git a/contrib/enco/test/tflite/Div_000/INFERENCE b/contrib/enco/test/tflite/Div_000/INFERENCE
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/enco/test/tflite/Div_000/test.recipe b/contrib/enco/test/tflite/Div_000/test.recipe
new file mode 100644 (file)
index 0000000..a6335de
--- /dev/null
@@ -0,0 +1,27 @@
+operand {
+  name: "ifm0"
+  type: FLOAT32
+  shape { dim: 1 dim: 4 dim: 4 dim: 3 }
+}
+operand {
+  name: "ifm1"
+  type: FLOAT32
+  shape { dim: 1 dim: 4 dim: 4 dim: 3 }
+}
+operand {
+  name: "ofm"
+  type: FLOAT32
+  shape { dim: 1 dim: 4 dim: 4 dim: 3 }
+}
+operation {
+  type: "Div"
+  input: "ifm0"
+  input: "ifm1"
+  output: "ofm"
+  div_options {
+    activation: NONE
+  }
+}
+input: "ifm0"
+input: "ifm1"
+output: "ofm"