summaryrefslogtreecommitdiff
path: root/res/TensorFlowLiteRecipes/Sum_dynamic_000/test.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'res/TensorFlowLiteRecipes/Sum_dynamic_000/test.recipe')
-rw-r--r--res/TensorFlowLiteRecipes/Sum_dynamic_000/test.recipe29
1 files changed, 29 insertions, 0 deletions
diff --git a/res/TensorFlowLiteRecipes/Sum_dynamic_000/test.recipe b/res/TensorFlowLiteRecipes/Sum_dynamic_000/test.recipe
new file mode 100644
index 000000000..99b089e4d
--- /dev/null
+++ b/res/TensorFlowLiteRecipes/Sum_dynamic_000/test.recipe
@@ -0,0 +1,29 @@
+operand {
+ name: "ifm"
+ type: FLOAT32
+ shape { dim: 1 dim: 8 dim: 8 dim: 4 }
+ shape_signature { dim: -1 dim: 8 dim: 8 dim: 4 }
+}
+operand {
+ name: "reduction_indices"
+ type: INT32
+ shape { dim: 1 }
+ filler { tag: "explicit" arg: "-1" }
+}
+operand {
+ name: "ofm"
+ type: FLOAT32
+ shape { dim: 1 dim: 8 dim: 8 dim: 1 }
+ shape_signature { dim: -1 dim: 8 dim: 8 dim: 1 }
+}
+operation {
+ type: "Sum"
+ sum_options {
+ keep_dims: true
+ }
+ input: "ifm"
+ input: "reduction_indices"
+ output: "ofm"
+}
+input: "ifm"
+output: "ofm"