diff options
Diffstat (limited to 'operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0')
3 files changed, 372 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/desc.json new file mode 100644 index 000000000..bb4daa433 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/desc.json @@ -0,0 +1,18 @@ +{ + "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": "Output data type not supported for this configuration of operator" +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/input-0.json new file mode 100644 index 000000000..5bcf19e02 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/input-0.json @@ -0,0 +1,302 @@ +{ + "type": "int32", + "data": [ + [ + -57, + -30, + 6, + -4, + 26, + 111, + 87, + 30, + -67, + -48, + -112, + 121, + -127, + 75, + 89, + -92, + 22, + 68, + 4, + -75, + 100, + -5, + -80, + -91, + -15 + ], + [ + 38, + -21, + -13, + 125, + -17, + 13, + 21, + 113, + 20, + -28, + -66, + 118, + -102, + 82, + 61, + 76, + 1, + 36, + -40, + 114, + -58, + -10, + 111, + 77, + -45 + ], + [ + 109, + 64, + 50, + 54, + -82, + -16, + 112, + -51, + 97, + 70, + 94, + -77, + 31, + 103, + 44, + 94, + 85, + 84, + -95, + 27, + -116, + 62, + 59, + -97, + -39 + ], + [ + -50, + -106, + 75, + 33, + -113, + 125, + 88, + 106, + 42, + 109, + -128, + 0, + 54, + 80, + 46, + -91, + -128, + -122, + -57, + -128, + -88, + -59, + 85, + 96, + -77 + ], + [ + -112, + 36, + -96, + -33, + -7, + -31, + 55, + 64, + 84, + -79, + 74, + 24, + 126, + 23, + 114, + -10, + 103, + -63, + 45, + -26, + 3, + -73, + 88, + -80, + 12 + ], + [ + -115, + -8, + 9, + -79, + 126, + -107, + 96, + 84, + 14, + -62, + -110, + -126, + 48, + 54, + 37, + 127, + 23, + -59, + 18, + -125, + 92, + 98, + -20, + 31, + 75 + ], + [ + 1, + 114, + 30, + -41, + -106, + -44, + -72, + 71, + 12, + -68, + 73, + -94, + 77, + 102, + 96, + -6, + -32, + -117, + -75, + 60, + -2, + -123, + 53, + -16, + 111 + ], + [ + -58, + -107, + 74, + -114, + -107, + 18, + -51, + 56, + -26, + 100, + 10, + -9, + -45, + -92, + -65, + -75, + -96, + 15, + 71, + 86, + -35, + -62, + 1, + -101, + 6 + ], + [ + -57, + -78, + -56, + -62, + 105, + -83, + -79, + 84, + 25, + 79, + -7, + 41, + -2, + -112, + 71, + 90, + 107, + 108, + -8, + 75, + -35, + -88, + 0, + -105, + -128 + ], + [ + 77, + -40, + 29, + -36, + -104, + -81, + 116, + 33, + -9, + 12, + -41, + -55, + -47, + 45, + -12, + 87, + 6, + 14, + 17, + 114, + -9, + 16, + 82, + 5, + 119 + ], + [ + -43, + -118, + 65, + 66, + -118, + 65, + 54, + 77, + 39, + 65, + -22, + 103, + -122, + 55, + 11, + -17, + 108, + -45, + -59, + 19, + 49, + 32, + 99, + 35, + 66 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/test.json new file mode 100644 index 000000000..ad44b41cc --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_11x25_i8_axis0/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 25 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 25 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |