[enco/frontend] Test for TF lite concat (#2264)
author박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Wed, 14 Nov 2018 03:52:31 +0000 (12:52 +0900)
committer박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Wed, 14 Nov 2018 03:52:31 +0000 (12:52 +0900)
This will add test recipe for Concat operator

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
contrib/enco/test/tflite/Concat_000/INFERENCE [new file with mode: 0644]
contrib/enco/test/tflite/Concat_000/test.recipe [new file with mode: 0644]

diff --git a/contrib/enco/test/tflite/Concat_000/INFERENCE b/contrib/enco/test/tflite/Concat_000/INFERENCE
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/contrib/enco/test/tflite/Concat_000/test.recipe b/contrib/enco/test/tflite/Concat_000/test.recipe
new file mode 100644 (file)
index 0000000..cd4ef46
--- /dev/null
@@ -0,0 +1,28 @@
+operand {
+  name: "ifm1"
+  type: FLOAT32
+  shape { dim: 1 dim: 4 dim: 4 dim: 1 }
+}
+operand {
+  name: "ifm2"
+  type: FLOAT32
+  shape { dim: 1 dim: 4 dim: 4 dim: 2 }
+}
+operand {
+  name: "ofm"
+  type: FLOAT32
+  shape { dim: 1 dim: 4 dim: 4 dim: 3 }
+}
+operation {
+  type: "Concatenation"
+  concatenation_options {
+    axis: 3
+    activation: 0
+  }
+  input: "ifm1"
+  input: "ifm2"
+  output: "ofm"
+}
+input: "ifm1"
+input: "ifm2"
+output: "ofm"