summaryrefslogtreecommitdiff
path: root/res/TensorFlowTests/NET_0022
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowTests/NET_0022')
-rw-r--r--res/TensorFlowTests/NET_0022/test.info5
-rw-r--r--res/TensorFlowTests/NET_0022/test.pbtxt70
2 files changed, 75 insertions, 0 deletions
diff --git a/res/TensorFlowTests/NET_0022/test.info b/res/TensorFlowTests/NET_0022/test.info
new file mode 100644
index 000000000..89c33ee9c
--- /dev/null
+++ b/res/TensorFlowTests/NET_0022/test.info
@@ -0,0 +1,5 @@
+# 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]
diff --git a/res/TensorFlowTests/NET_0022/test.pbtxt b/res/TensorFlowTests/NET_0022/test.pbtxt
new file mode 100644
index 000000000..c8879e84f
--- /dev/null
+++ b/res/TensorFlowTests/NET_0022/test.pbtxt
@@ -0,0 +1,70 @@
+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
+ }
+ }
+}