From ee8287e7d32a98f5e6197a361702bfc07e6efd91 Mon Sep 17 00:00:00 2001 From: James Ward Date: Fri, 27 Jan 2023 18:44:11 +0000 Subject: Create MI tests for Reduction: REDUCE_SUM, REDUCE_PRODUCT Signed-off-by: James Ward Change-Id: Ie333c2e7c851ced9ad3f4d823f7070bed5e1cdfc --- .../reduce_product_7x31x26x22_f16_axis2/test.json | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 operators/reduction/reduce_product/reduce_product_7x31x26x22_f16_axis2/test.json (limited to 'operators/reduction/reduce_product/reduce_product_7x31x26x22_f16_axis2/test.json') diff --git a/operators/reduction/reduce_product/reduce_product_7x31x26x22_f16_axis2/test.json b/operators/reduction/reduce_product/reduce_product_7x31x26x22_f16_axis2/test.json new file mode 100644 index 000000000..63d58fa09 --- /dev/null +++ b/operators/reduction/reduce_product/reduce_product_7x31x26x22_f16_axis2/test.json @@ -0,0 +1,61 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_PRODUCT", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 31, + 26, + 22 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 7, + 31, + 1, + 22 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1