diff options
Diffstat (limited to 'res/TensorFlowLiteRecipes/Part_Add_Sub_002/test.recipe')
-rw-r--r-- | res/TensorFlowLiteRecipes/Part_Add_Sub_002/test.recipe | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Part_Add_Sub_002/test.recipe b/res/TensorFlowLiteRecipes/Part_Add_Sub_002/test.recipe new file mode 100644 index 000000000..25cce49f3 --- /dev/null +++ b/res/TensorFlowLiteRecipes/Part_Add_Sub_002/test.recipe @@ -0,0 +1,59 @@ +operand { + name: "ifm" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "const" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } + filler { + tag: "gaussian" + arg: "0.0" + arg: "1.0" + } +} +operand { + name: "add1" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "add2" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operand { + name: "ofm" + type: FLOAT32 + shape { dim: 1 dim: 3 dim: 3 dim: 2 } +} +operation { + type: "Add" + add_options { + activation: NONE + } + input: "ifm" + input: "const" + output: "add1" +} +operation { + type: "Add" + add_options { + activation: NONE + } + input: "add1" + input: "const" + output: "add2" +} +operation { + type: "Sub" + sub_options { + activation: NONE + } + input: "add2" + input: "const" + output: "ofm" +} +input: "ifm" +output: "ofm" |