This commit add (will-be) renamed test cases of Multiple_IO_XXXX.
NET_0022 <- Multiple_IO_000
NET_0023 <- Multiple_IO_001
NET_0024 <- Multiple_IO_002
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
--- /dev/null
+# this has two inputs and two outputs. Let's make our code to handle multiple inputs and outputs.
+input, input_1:0, TF_FLOAT, [2, 2]
+input, input_2:0, TF_FLOAT, [2, 2]
+output, output_1:0, TF_FLOAT, [2, 2]
+output, output_2:0, TF_FLOAT, [2, 2]
--- /dev/null
+node {
+ name: "input_1"
+ op: "Placeholder"
+ attr {
+ key: "dtype"
+ value {
+ type: DT_FLOAT
+ }
+ }
+ attr {
+ key: "shape"
+ value {
+ shape {
+ dim {
+ size: 2
+ }
+ dim {
+ size: 2
+ }
+ }
+ }
+ }
+}
+node {
+ name: "input_2"
+ op: "Placeholder"
+ attr {
+ key: "dtype"
+ value {
+ type: DT_FLOAT
+ }
+ }
+ attr {
+ key: "shape"
+ value {
+ shape {
+ dim {
+ size: 2
+ }
+ dim {
+ size: 2
+ }
+ }
+ }
+ }
+}
+node {
+ name: "output_1"
+ op: "Add"
+ input: "input_1"
+ input: "input_2"
+ attr {
+ key: "T"
+ value {
+ type: DT_FLOAT
+ }
+ }
+}
+node {
+ name: "output_2"
+ op: "Add"
+ input: "input_1"
+ input: "input_2"
+ attr {
+ key: "T"
+ value {
+ type: DT_FLOAT
+ }
+ }
+}
--- /dev/null
+# this has no input
+output, out:0, TF_FLOAT, [2, 2]
--- /dev/null
+node {
+ name: "Const"
+ op: "Const"
+ attr {
+ key: "dtype"
+ value {
+ type: DT_FLOAT
+ }
+ }
+ attr {
+ key: "value"
+ value {
+ tensor {
+ dtype: DT_FLOAT
+ tensor_shape {
+ dim {
+ size: 2
+ }
+ dim {
+ size: 2
+ }
+ }
+ float_val: 1
+ float_val: 2
+ float_val: 3
+ float_val: 4
+ }
+ }
+ }
+}
+node {
+ name: "Const_1"
+ op: "Const"
+ attr {
+ key: "dtype"
+ value {
+ type: DT_FLOAT
+ }
+ }
+ attr {
+ key: "value"
+ value {
+ tensor {
+ dtype: DT_FLOAT
+ tensor_shape {
+ dim {
+ size: 2
+ }
+ dim {
+ size: 2
+ }
+ }
+ float_val: 1
+ float_val: 2
+ float_val: 3
+ float_val: 4
+ }
+ }
+ }
+}
+node {
+ name: "out"
+ op: "Add"
+ input: "Const"
+ input: "Const_1"
+ attr {
+ key: "T"
+ value {
+ type: DT_FLOAT
+ }
+ }
+}
--- /dev/null
+input, fst:0, TF_FLOAT, [1, 6, 1, 1]
+input, snd:0, TF_FLOAT, [1, 3, 1, 1]
+output, out:0, TF_FLOAT, [1, 9, 1, 1]
--- /dev/null
+# This example intentionally declares "snd" node before "fst" node
+node {
+ name: "snd"
+ op: "Placeholder"
+ attr {
+ key: "dtype"
+ value { type: DT_FLOAT }
+ }
+ attr {
+ key: "shape"
+ value {
+ shape {
+ dim { size: 1 }
+ dim { size: 3 }
+ dim { size: 1 }
+ dim { size: 1 }
+ }
+ }
+ }
+}
+node {
+ name: "fst"
+ op: "Placeholder"
+ attr {
+ key: "dtype"
+ value { type: DT_FLOAT }
+ }
+ attr {
+ key: "shape"
+ value {
+ shape {
+ dim { size: 1 }
+ dim { size: 6 }
+ dim { size: 1 }
+ dim { size: 1 }
+ }
+ }
+ }
+}
+node {
+ name: "axis"
+ op: "Const"
+ attr {
+ key: "dtype"
+ value { type: DT_INT32 }
+ }
+ attr {
+ key: "value"
+ value {
+ tensor {
+ dtype: DT_INT32
+ tensor_shape { }
+ int_val: 1
+ }
+ }
+ }
+}
+node {
+ name: "out"
+ op: "ConcatV2"
+ input: "fst"
+ input: "snd"
+ input: "axis"
+ attr {
+ key: "N"
+ value { i: 2 }
+ }
+ attr {
+ key: "T"
+ value { type: DT_FLOAT }
+ }
+ attr {
+ key: "Tidx"
+ value { type: DT_INT32 }
+ }
+}