summaryrefslogtreecommitdiff
path: root/res/TensorFlowLiteRecipes/Part_Split_Add_000/test.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowLiteRecipes/Part_Split_Add_000/test.recipe')
-rw-r--r--res/TensorFlowLiteRecipes/Part_Split_Add_000/test.recipe47
1 files changed, 47 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Part_Split_Add_000/test.recipe b/res/TensorFlowLiteRecipes/Part_Split_Add_000/test.recipe
new file mode 100644
index 000000000..1d20443c8
--- /dev/null
+++ b/res/TensorFlowLiteRecipes/Part_Split_Add_000/test.recipe
@@ -0,0 +1,47 @@
+operand {
+ name: "ifm"
+ type: FLOAT32
+ shape { dim: 6 dim: 1 dim: 2 }
+}
+operand {
+ name: "split_dim"
+ type: INT32
+ shape { }
+ filler { tag: "explicit" arg: "0" }
+}
+operand {
+ name: "split1"
+ type: FLOAT32
+ shape { dim: 3 dim: 1 dim: 2 }
+}
+operand {
+ name: "split2"
+ type: FLOAT32
+ shape { dim: 3 dim: 1 dim: 2 }
+}
+operand {
+ name: "ofm"
+ type: FLOAT32
+ shape { dim: 3 dim: 1 dim: 2 }
+}
+operation {
+ type: "Split"
+ split_options {
+ num_splits: 2
+ }
+ input: "split_dim"
+ input: "ifm"
+ output: "split1"
+ output: "split2"
+}
+operation {
+ type: "Add"
+ input: "split1"
+ input: "split2"
+ output: "ofm"
+ add_options {
+ activation: NONE
+ }
+}
+input: "ifm"
+output: "ofm"