diff options
Diffstat (limited to 'operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0')
3 files changed, 101 insertions, 0 deletions
diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/desc.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/desc.json new file mode 100644 index 000000000..2b74f86d0 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/desc.json @@ -0,0 +1,22 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0" + ], + "ifm_file": [ + "input-0.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Op output list does not match expected output", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/input-0.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/input-0.json new file mode 100644 index 000000000..57f06339a --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/input-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + [ + [ + -367975739, + 459654140, + 240352889, + 65424268 + ], + [ + 96248262, + -257883782, + 102212636, + -492049574 + ], + [ + -187998474, + 318111105, + -276394854, + 291280703 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/test.json new file mode 100644 index 000000000..82571f231 --- /dev/null +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/test.json @@ -0,0 +1,54 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 3, + 4 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 3, + 4 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |