diff --git a/res/TensorFlowLiteRecipes/Add_003/test.recipe b/res/TensorFlowLiteRecipes/Add_003/test.recipe new file mode 100644 index 00000000000..3044232f73f --- /dev/null +++ b/res/TensorFlowLiteRecipes/Add_003/test.recipe @@ -0,0 +1,33 @@ +operand { + name: "ifm1" + type: FLOAT32 + shape { dim: 4 dim: 2 dim: 2 dim: 3 } +} +operand { + name: "ifm2" + type: FLOAT32 + shape { dim: 4 dim: 2 dim: 2 dim: 1 } + filler { + tag: "explicit" + arg: "1" arg: "2" arg: "-3" arg: "-4" + arg: "5" arg: "6" arg: "-7" arg: "-8" + arg: "11" arg: "2" arg: "-13" arg: "-4" + arg: "1" arg: "12" arg: "-3" arg: "-14" + } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 4 dim: 2 dim: 2 dim: 3 } +} +operation { + type: "Add" + input: "ifm1" + input: "ifm2" + output: "ofm" + add_options { + activation: NONE + } +} +input: "ifm1" +output: "ofm" diff --git a/res/TensorFlowLiteRecipes/Add_003/test.reverse b/res/TensorFlowLiteRecipes/Add_003/test.reverse new file mode 100644 index 00000000000..e69de29bb2d diff --git a/res/TensorFlowLiteRecipes/Add_004/test.recipe b/res/TensorFlowLiteRecipes/Add_004/test.recipe new file mode 100644 index 00000000000..bcd95f1dbc1 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Add_004/test.recipe @@ -0,0 +1,30 @@ +operand { + name: "ifm1" + type: FLOAT32 + shape { dim: 1 dim: 2 dim: 2 dim: 3 } +} +operand { + name: "ifm2" + type: FLOAT32 + shape { dim: 1 dim: 2 dim: 2 dim: 1 } + filler { + tag: "explicit" + arg: "1" arg: "2" arg: "-3" arg: "-1" + } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 1 dim: 2 dim: 2 dim: 3 } +} +operation { + type: "Add" + input: "ifm1" + input: "ifm2" + output: "ofm" + add_options { + activation: NONE + } +} +input: "ifm1" +output: "ofm" diff --git a/res/TensorFlowLiteRecipes/Add_004/test.reverse b/res/TensorFlowLiteRecipes/Add_004/test.reverse new file mode 100644 index 00000000000..e69de29bb2d diff --git a/res/TensorFlowLiteRecipes/Add_005/test.recipe b/res/TensorFlowLiteRecipes/Add_005/test.recipe new file mode 100644 index 00000000000..3b99549c7c2 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Add_005/test.recipe @@ -0,0 +1,30 @@ +operand { + name: "ifm1" + type: FLOAT32 + shape { dim: 2 dim: 2 dim: 3 } +} +operand { + name: "ifm2" + type: FLOAT32 + shape { dim: 2 dim: 2 dim: 1 } + filler { + tag: "explicit" + arg: "1" arg: "2" arg: "-3" arg: "-1" + } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 2 dim: 2 dim: 3 } +} +operation { + type: "Add" + input: "ifm1" + input: "ifm2" + output: "ofm" + add_options { + activation: NONE + } +} +input: "ifm1" +output: "ofm" diff --git a/res/TensorFlowLiteRecipes/Add_005/test.reverse b/res/TensorFlowLiteRecipes/Add_005/test.reverse new file mode 100644 index 00000000000..e69de29bb2d diff --git a/res/TensorFlowLiteRecipes/Add_006/test.recipe b/res/TensorFlowLiteRecipes/Add_006/test.recipe new file mode 100644 index 00000000000..bd80b9d52cb --- /dev/null +++ b/res/TensorFlowLiteRecipes/Add_006/test.recipe @@ -0,0 +1,30 @@ +operand { + name: "ifm1" + type: FLOAT32 + shape { dim: 4 dim: 4} +} +operand { + name: "ifm2" + type: FLOAT32 + shape { dim: 4 dim: 1} + filler { + tag: "explicit" + arg: "1" arg: "2" arg: "-3" arg: "-4" + } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 4 dim: 4} +} +operation { + type: "Add" + input: "ifm1" + input: "ifm2" + output: "ofm" + add_options { + activation: NONE + } +} +input: "ifm1" +output: "ofm" diff --git a/res/TensorFlowLiteRecipes/Add_006/test.reverse b/res/TensorFlowLiteRecipes/Add_006/test.reverse new file mode 100644 index 00000000000..e69de29bb2d