[tflchef] Add FullyConnected test recipe for 4D input (#3037)
author박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Sun, 17 Feb 2019 22:18:10 +0000 (07:18 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Sun, 17 Feb 2019 22:18:10 +0000 (07:18 +0900)
* [tflchef] Add FullyConnected test recipe for 4D input

This will add another test.recipe for FullyConnected op that has the same shape as inception v3

Signed-off-by: SaeHie Park <saehie.park@samsung.com>
* reduce size

contrib/tflchef/tests/fullyconnected2/test.recipe [new file with mode: 0644]

diff --git a/contrib/tflchef/tests/fullyconnected2/test.recipe b/contrib/tflchef/tests/fullyconnected2/test.recipe
new file mode 100644 (file)
index 0000000..e404f75
--- /dev/null
@@ -0,0 +1,34 @@
+operand {
+  name: "in"
+  type: FLOAT32
+  shape { dim: 1 dim: 1 dim: 1 dim: 4 }
+}
+operand {
+  name: "weight"
+  type: FLOAT32
+  shape { dim: 2 dim: 4 }
+}
+operand {
+  name: "bias"
+  type: FLOAT32
+  shape { dim: 2 }
+}
+operand {
+  name: "out"
+  type: FLOAT32
+  shape { dim: 1 dim: 2 }
+}
+operation {
+  type: "FullyConnected"
+  fullyconnected_options {
+    activation: NONE
+  }
+  input: "in"
+  input: "weight"
+  input: "bias"
+  output: "out"
+}
+input: "in"
+input: "weight"
+input: "bias"
+output: "out"