diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:25 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:25 +0100 |
commit | 52bfc1a26ec8a1583a274bedf848f3ff3047a2d6 (patch) | |
tree | 51cfeb0a1d0d9dcbd4f5aa25a8af6551a41baf58 /operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0 | |
parent | 7746767e3a0a421bdf64ef5cf0c8926bcfa86d1f (diff) | |
download | conformance_tests-52bfc1a26ec8a1583a274bedf848f3ff3047a2d6.tar.gz |
Updating IMAGE tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ic72d5ee6733ee0b36bc8c851dc762838534eff5d
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0')
3 files changed, 870 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/desc.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/desc.json new file mode 100644 index 000000000..2b74f86d0 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/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/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/input-0.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/input-0.json new file mode 100644 index 000000000..5b4c9cf78 --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/input-0.json @@ -0,0 +1,777 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 2, + -84, + -75, + 109, + 0, + 61, + -18, + 14, + 28, + -126, + -34, + 101, + 88 + ], + [ + -90, + -34, + -85, + -33, + 77, + -69, + 28, + -59, + -58, + 121, + 11, + -7, + -47 + ], + [ + -50, + -41, + -60, + -106, + 83, + 21, + -1, + 38, + -31, + -45, + -61, + -72, + 59 + ], + [ + 85, + 34, + -98, + -11, + -128, + 116, + -96, + -16, + -128, + 39, + -36, + -2, + 28 + ], + [ + 108, + -17, + 24, + -2, + 8, + -76, + 32, + -121, + 120, + -93, + -101, + 46, + -15 + ] + ], + [ + [ + 78, + 54, + -3, + -73, + -3, + 41, + 55, + 114, + 105, + -102, + 113, + -43, + -79 + ], + [ + -124, + -83, + 0, + 42, + -20, + 112, + -13, + 24, + -90, + -82, + -10, + -8, + 31 + ], + [ + 121, + -50, + -70, + 124, + -92, + -93, + -110, + -59, + -58, + 5, + -70, + 47, + -101 + ], + [ + -116, + 48, + -128, + 0, + -23, + -90, + -53, + 39, + 30, + 68, + 81, + 63, + -59 + ], + [ + 41, + -16, + -124, + -128, + 66, + 113, + 103, + -100, + 35, + -14, + 12, + 26, + 65 + ] + ], + [ + [ + 86, + 0, + -89, + -2, + -24, + -125, + -63, + -115, + -115, + -81, + 36, + 39, + 53 + ], + [ + -81, + 96, + 7, + 23, + 29, + -11, + -78, + 15, + -10, + -70, + 88, + 73, + -14 + ], + [ + -33, + -90, + 43, + -23, + -9, + 4, + 33, + 8, + -121, + 4, + 119, + 106, + 64 + ], + [ + 72, + -21, + 121, + -120, + 31, + 23, + -36, + -4, + -122, + -40, + -30, + -106, + 86 + ], + [ + -99, + -110, + -103, + 108, + -87, + -108, + 31, + -90, + 76, + -79, + 89, + -61, + 60 + ] + ], + [ + [ + 55, + 78, + -113, + 19, + -89, + 24, + 58, + -37, + 46, + 27, + -29, + -47, + 9 + ], + [ + -9, + 123, + 85, + -21, + -109, + 107, + 31, + 94, + -88, + -31, + 68, + 45, + 57 + ], + [ + 60, + -8, + -55, + 26, + -96, + 108, + -49, + 79, + 24, + -118, + 64, + -114, + 76 + ], + [ + 16, + 127, + 113, + 54, + -14, + -73, + -61, + -118, + 114, + 76, + -61, + -98, + -64 + ], + [ + -44, + 35, + -116, + 120, + 80, + -5, + 0, + -58, + 124, + 98, + -88, + -40, + -37 + ] + ], + [ + [ + 123, + 58, + -40, + -43, + 85, + -82, + -21, + 19, + -123, + -78, + -101, + 106, + 47 + ], + [ + 49, + 120, + 13, + -54, + -28, + 20, + -92, + 45, + 61, + 74, + -81, + -64, + -38 + ], + [ + -35, + 108, + 99, + 1, + -122, + 4, + -6, + 121, + -22, + 69, + -103, + 20, + -107 + ], + [ + -4, + 115, + -66, + 77, + 10, + -20, + -102, + -71, + -128, + 105, + -10, + -117, + 103 + ], + [ + 106, + -2, + 7, + 43, + 87, + 29, + -56, + 45, + -37, + 16, + 115, + -32, + -32 + ] + ], + [ + [ + 119, + 75, + 24, + -36, + -80, + -40, + 83, + -75, + 91, + 5, + 93, + -94, + 15 + ], + [ + 82, + 26, + -120, + 104, + 114, + 89, + 4, + -81, + -125, + 4, + 102, + -45, + -45 + ], + [ + 105, + -91, + -7, + -64, + 96, + -106, + 127, + 93, + 117, + 84, + -18, + 53, + -102 + ], + [ + 124, + -110, + 68, + 69, + 99, + 7, + -4, + 87, + -53, + 86, + 14, + -28, + 101 + ], + [ + -86, + 115, + -71, + 4, + 107, + -37, + 116, + 59, + 25, + -14, + 44, + -120, + 115 + ] + ], + [ + [ + -119, + -16, + 17, + -95, + -22, + 61, + -79, + 127, + -112, + 89, + -45, + -82, + 109 + ], + [ + -125, + -121, + 56, + -73, + -63, + 87, + 53, + -66, + -22, + 97, + 51, + 14, + 118 + ], + [ + 80, + 105, + 42, + 4, + 68, + 35, + 125, + 20, + -11, + 86, + -86, + 52, + 4 + ], + [ + -72, + -15, + 1, + 28, + -92, + -98, + -42, + -102, + 21, + -45, + 104, + 96, + -83 + ], + [ + -57, + 22, + -30, + -33, + -43, + -61, + 8, + 101, + 62, + -128, + -63, + 58, + -39 + ] + ], + [ + [ + -73, + -28, + -118, + -108, + -36, + 12, + -109, + -43, + -83, + -127, + -64, + -5, + 83 + ], + [ + -85, + -25, + 6, + 86, + 32, + -28, + 122, + -128, + -103, + 37, + -73, + -29, + 18 + ], + [ + 43, + 101, + 94, + 49, + -6, + -4, + 11, + -62, + -4, + 55, + 36, + -93, + -64 + ], + [ + 60, + -85, + 106, + 29, + 113, + 9, + 40, + 101, + -78, + -12, + -96, + 53, + -53 + ], + [ + -46, + 34, + 122, + 58, + 90, + 67, + -63, + -6, + -40, + 86, + 14, + -81, + 29 + ] + ], + [ + [ + 72, + -108, + 33, + 69, + 22, + -104, + -35, + 41, + -23, + 22, + -123, + 12, + 121 + ], + [ + 17, + 18, + -60, + -78, + -73, + -58, + -70, + -35, + 26, + -40, + 87, + -66, + 103 + ], + [ + 39, + 22, + 85, + 74, + -38, + -7, + -21, + -77, + -21, + 35, + -49, + 110, + -7 + ], + [ + -119, + -22, + -97, + 93, + 105, + 28, + -90, + -51, + 78, + 68, + -58, + -57, + -60 + ], + [ + 42, + 79, + 115, + -28, + -124, + 38, + -26, + 59, + -2, + -113, + 5, + 11, + 84 + ] + ], + [ + [ + 124, + 8, + -40, + -38, + 19, + -39, + -103, + -64, + -7, + -14, + -99, + 43, + 114 + ], + [ + -44, + -28, + -113, + -95, + 32, + 43, + 41, + 83, + -45, + 10, + -10, + -15, + -91 + ], + [ + -65, + -128, + -23, + 68, + 8, + 62, + 40, + 126, + -53, + -25, + 91, + 93, + 120 + ], + [ + 39, + -127, + 105, + -112, + 86, + 126, + -83, + 127, + -29, + -18, + -76, + -11, + -105 + ], + [ + -127, + -50, + -56, + -64, + -10, + -96, + 5, + -50, + 24, + -33, + 110, + -121, + 5 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/test.json b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/test.json new file mode 100644 index 000000000..ab891ae3b --- /dev/null +++ b/operators/image/resize/resize_ERRORIF_WrongOutputList_1x10x5x13_i8_modeB_outi32_sc1x3x1x2_off9x0_bor0x0/test.json @@ -0,0 +1,71 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESIZE", + attribute_type: "ResizeAttribute", + attribute: { + scale: [ + 1, + 3, + 1, + 2 + ], + offset: [ + 9, + 0 + ], + border: [ + 0, + 0 + ], + mode: "BILINEAR" + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 5, + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 3, + 13 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |