diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:07 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:07 +0100 |
commit | ae5fcadbf03f8b5779065b22039f952f813dfc0e (patch) | |
tree | 6e6f05841ace4dd173b135f2e1d3648015d95f0d /operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0 | |
parent | d2f0a9657439fe7ad7c60208a9eacafdcb1af5be (diff) | |
download | conformance_tests-ae5fcadbf03f8b5779065b22039f952f813dfc0e.tar.gz |
Updating REDUCE_MIN tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I106585a7a6a8dea1c9cdcb923804d1ad60d06a1b
Diffstat (limited to 'operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0')
3 files changed, 450 insertions, 0 deletions
diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0/desc.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0/desc.json new file mode 100644 index 000000000..9384c51a7 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_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": "Op output list does not match expected output" +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0/input-0.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0/input-0.json new file mode 100644 index 000000000..2aef00e49 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0/input-0.json @@ -0,0 +1,379 @@ +{ + "type": "int32", + "data": [ + [ + -10, + 109, + 16, + -69, + -90, + -69, + -19, + 46, + 45, + -28, + 4, + -117, + 90, + -60, + -22, + -80, + 106, + 98, + 35, + 52, + 48, + -123, + 120, + 98, + 1, + 52, + 123, + -61, + 57, + 80, + -95, + 29 + ], + [ + 44, + -8, + -3, + -45, + -83, + -45, + -5, + -82, + 82, + 86, + 107, + -44, + -94, + -48, + 6, + 2, + -6, + 53, + -73, + 60, + 75, + 53, + -84, + -23, + -35, + -3, + 25, + 54, + 2, + 114, + 15, + -77 + ], + [ + 29, + -77, + 8, + -90, + 120, + -108, + -62, + 22, + 56, + -63, + 29, + -35, + 91, + 30, + -11, + -46, + 21, + -11, + -61, + 4, + -112, + -90, + 104, + 74, + -125, + -83, + -56, + 125, + 82, + 35, + 22, + 34 + ], + [ + -86, + 40, + -124, + 101, + 62, + 75, + -90, + 73, + -1, + 98, + -73, + 62, + 81, + 106, + -83, + -126, + 119, + -17, + 46, + -24, + -27, + 126, + -65, + -104, + -45, + 10, + 36, + -73, + 58, + 127, + 27, + -119 + ], + [ + -45, + 84, + 69, + -30, + -100, + -57, + -4, + -43, + -51, + 29, + -75, + 125, + 87, + 18, + -6, + 20, + -17, + 19, + 119, + -75, + -15, + -25, + 63, + -79, + 78, + 22, + 123, + 91, + -90, + 70, + 121, + -95 + ], + [ + 53, + 19, + -35, + 29, + 80, + -84, + -29, + -44, + -1, + 12, + 113, + 48, + -17, + 38, + 33, + 96, + 105, + -84, + -54, + 57, + 113, + 107, + -74, + 107, + -27, + -48, + 52, + 33, + -55, + -35, + -53, + -79 + ], + [ + -41, + 107, + -57, + -48, + 90, + -117, + -62, + -120, + -93, + -47, + 42, + -94, + -92, + 96, + 58, + -74, + 93, + -24, + -127, + -125, + -49, + -24, + 53, + 52, + -30, + -20, + 66, + 77, + 1, + -54, + -11, + -17 + ], + [ + 2, + 64, + 120, + -122, + 72, + -53, + 65, + 77, + 57, + -93, + 15, + -20, + 10, + -75, + -64, + -78, + 10, + 49, + -47, + 105, + -80, + 78, + 60, + 10, + -101, + -73, + -54, + 26, + 108, + 124, + -128, + 111 + ], + [ + -11, + 0, + 61, + -7, + 42, + -33, + 61, + 94, + -32, + -64, + 22, + 18, + -57, + 55, + 50, + 59, + 59, + 28, + -44, + -2, + -119, + -46, + 44, + 23, + 39, + -123, + -70, + -107, + 45, + 0, + 65, + -91 + ], + [ + -120, + 55, + 59, + -100, + -2, + -111, + -117, + 121, + -36, + 32, + 32, + -117, + -55, + -73, + -113, + -4, + -77, + 28, + -73, + 3, + -52, + 21, + 85, + -34, + 16, + 93, + -40, + -93, + 96, + -63, + 69, + -17 + ], + [ + -115, + 58, + 59, + 125, + -124, + 28, + -25, + -25, + -78, + -88, + -67, + -88, + 77, + -32, + 80, + 65, + -19, + -56, + 45, + 115, + -116, + 79, + 101, + 43, + 32, + -31, + -89, + -96, + -2, + 51, + -21, + -112 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0/test.json new file mode 100644 index 000000000..d4a65dde3 --- /dev/null +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x32_i8_axis0/test.json @@ -0,0 +1,53 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 32 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 32 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |