diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:59:38 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:59:38 +0100 |
commit | 725dc72a1676089eb9f22cef062aec7359c55436 (patch) | |
tree | 62b1810802a3a867abdad8abb36c94894b5a0bd1 /operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2 | |
parent | 160c305f3f95ff71775a307b8e601e5e78c60e9a (diff) | |
download | conformance_tests-725dc72a1676089eb9f22cef062aec7359c55436.tar.gz |
Updating TRANSPOSE_CONV2D_1X1 tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I1d06dd6b1ed82886cd75ba700db26bca9a42f594
Diffstat (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2')
3 files changed, 1245 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/desc.json new file mode 100644 index 000000000..bf7c1974a --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/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 input list does not match expected input", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/input-0.json new file mode 100644 index 000000000..89bd46c1a --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/input-0.json @@ -0,0 +1,1087 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 79, + 2, + -105, + 54, + 107, + -71 + ], + [ + -88, + 61, + -44, + 55, + 52, + -60 + ], + [ + -118, + 14, + -24, + 90, + -37, + -65 + ], + [ + 92, + 60, + 30, + 116, + 72, + 93 + ], + [ + 76, + -26, + -113, + 27, + 67, + 125 + ], + [ + 46, + 17, + 19, + -99, + -127, + -117 + ], + [ + 103, + 74, + -62, + -20, + -5, + -65 + ], + [ + -20, + -39, + 49, + 65, + -103, + -9 + ], + [ + 125, + 94, + 75, + 60, + -127, + 121 + ], + [ + 60, + 99, + 104, + -63, + -125, + 40 + ], + [ + -11, + -123, + -59, + 125, + -35, + -62 + ] + ], + [ + [ + 39, + 42, + -43, + 89, + 20, + -87 + ], + [ + -45, + 89, + -106, + -125, + 40, + -15 + ], + [ + -64, + -8, + -82, + -33, + -69, + 22 + ], + [ + 44, + 106, + -111, + -45, + -61, + 20 + ], + [ + 8, + 96, + 107, + 69, + -78, + -118 + ], + [ + 102, + 113, + -64, + -117, + 46, + 22 + ], + [ + 99, + 19, + 66, + 73, + -126, + -90 + ], + [ + 71, + -83, + -76, + 64, + -76, + -90 + ], + [ + -125, + -8, + 35, + 59, + 103, + 38 + ], + [ + 65, + -75, + -41, + -51, + -112, + 120 + ], + [ + -67, + -14, + -37, + -117, + 103, + -72 + ] + ], + [ + [ + -103, + -41, + -92, + 127, + -80, + -51 + ], + [ + -59, + -122, + -125, + 3, + -69, + -107 + ], + [ + -54, + -58, + -20, + 126, + -50, + 52 + ], + [ + 68, + -116, + 0, + -14, + 1, + -85 + ], + [ + -9, + -97, + 114, + 22, + -120, + 1 + ], + [ + 109, + 62, + -59, + 100, + -81, + -65 + ], + [ + -89, + 108, + 55, + 4, + 42, + -62 + ], + [ + -110, + 88, + 118, + -119, + -115, + 15 + ], + [ + -117, + 56, + 114, + -57, + -53, + 93 + ], + [ + -37, + -67, + -107, + 87, + 109, + -108 + ], + [ + 77, + -88, + -93, + -31, + -17, + 90 + ] + ], + [ + [ + 51, + -91, + 21, + 96, + 41, + -70 + ], + [ + -96, + -13, + -8, + -38, + -101, + -98 + ], + [ + 7, + 113, + 25, + -16, + 110, + 48 + ], + [ + 55, + 19, + 67, + 0, + 31, + 29 + ], + [ + 64, + 101, + -53, + 51, + -120, + 8 + ], + [ + 102, + 37, + -60, + 27, + -37, + -18 + ], + [ + -70, + 31, + -78, + -15, + 112, + 65 + ], + [ + -22, + 120, + -125, + 117, + -38, + 82 + ], + [ + 114, + 26, + 28, + 63, + -67, + -83 + ], + [ + -41, + -6, + 62, + -63, + 16, + -128 + ], + [ + -121, + 119, + 89, + 93, + -44, + 3 + ] + ], + [ + [ + 44, + -63, + 62, + 49, + -24, + -17 + ], + [ + -50, + 77, + 124, + 127, + 69, + -39 + ], + [ + 71, + -66, + 101, + -60, + -25, + -105 + ], + [ + -108, + -28, + 12, + -124, + 88, + -99 + ], + [ + 127, + -59, + -31, + -88, + 83, + 59 + ], + [ + -108, + -101, + 27, + 93, + -100, + -72 + ], + [ + 11, + -101, + -51, + -126, + -1, + 55 + ], + [ + -23, + -63, + -20, + 2, + -86, + -100 + ], + [ + -82, + 124, + 57, + -96, + -51, + -23 + ], + [ + -82, + 90, + 112, + -66, + -124, + -60 + ], + [ + 21, + 78, + -42, + -59, + -65, + -128 + ] + ], + [ + [ + -125, + -19, + 30, + -125, + -77, + 104 + ], + [ + 125, + 36, + 5, + 21, + -34, + -77 + ], + [ + -32, + 51, + 41, + 45, + 27, + -113 + ], + [ + 32, + 97, + 38, + 20, + -71, + 74 + ], + [ + -13, + -61, + -3, + -97, + 109, + 51 + ], + [ + -45, + 75, + -115, + -30, + 38, + -122 + ], + [ + 53, + 81, + 24, + -76, + 63, + -42 + ], + [ + 60, + 32, + -105, + -103, + -125, + -110 + ], + [ + -52, + -122, + 112, + 106, + -84, + -49 + ], + [ + 62, + 41, + 20, + 125, + 33, + 43 + ], + [ + 0, + 6, + -54, + 5, + 107, + -32 + ] + ], + [ + [ + -94, + 25, + 73, + 117, + 10, + 73 + ], + [ + -64, + -20, + -21, + -43, + 55, + 98 + ], + [ + -45, + -94, + 83, + 89, + 111, + -63 + ], + [ + 56, + 55, + 74, + 78, + 115, + -6 + ], + [ + -109, + -79, + 98, + 88, + -126, + -34 + ], + [ + -66, + -46, + 35, + 2, + -5, + -17 + ], + [ + 36, + 46, + -117, + -93, + -41, + -17 + ], + [ + 127, + 100, + 38, + -119, + -103, + -11 + ], + [ + 22, + 41, + -92, + 99, + -2, + 24 + ], + [ + -118, + 83, + 11, + -71, + -47, + -38 + ], + [ + -122, + 113, + 77, + 98, + -38, + 14 + ] + ], + [ + [ + -11, + -7, + 22, + -13, + 69, + -113 + ], + [ + -79, + 100, + 97, + 81, + -34, + -12 + ], + [ + -122, + -57, + 57, + -41, + -6, + -97 + ], + [ + -1, + 56, + 18, + 14, + 106, + -69 + ], + [ + -52, + 31, + -6, + 122, + -113, + -97 + ], + [ + -41, + -11, + 99, + -2, + -17, + -86 + ], + [ + -17, + 8, + 21, + 27, + -19, + -88 + ], + [ + -89, + -89, + 30, + 91, + 98, + -49 + ], + [ + -108, + 33, + -119, + 32, + -30, + 86 + ], + [ + 32, + 61, + -25, + 87, + 6, + 32 + ], + [ + -36, + -13, + 87, + -28, + -123, + -31 + ] + ], + [ + [ + -28, + -21, + -110, + -95, + -46, + -20 + ], + [ + -121, + -29, + -47, + -120, + -64, + -58 + ], + [ + -92, + 64, + -110, + 19, + 42, + 78 + ], + [ + 11, + 10, + 66, + 90, + -74, + 75 + ], + [ + -10, + -103, + 28, + 122, + -92, + -125 + ], + [ + 106, + 24, + -72, + 74, + -28, + -44 + ], + [ + -54, + 25, + -94, + -36, + -50, + -113 + ], + [ + 67, + -126, + 117, + -104, + -37, + -103 + ], + [ + -35, + 28, + -106, + 6, + 69, + -12 + ], + [ + -100, + 49, + -81, + -124, + -17, + -59 + ], + [ + -121, + 71, + 25, + 104, + -6, + -16 + ] + ], + [ + [ + 87, + -108, + -36, + 76, + -54, + 98 + ], + [ + -56, + -23, + 101, + -66, + 119, + -117 + ], + [ + -60, + 23, + 24, + 104, + 117, + 45 + ], + [ + 40, + -47, + 78, + 36, + -122, + 85 + ], + [ + -36, + -7, + -4, + 81, + -60, + -28 + ], + [ + -118, + -39, + -106, + 21, + 100, + -10 + ], + [ + 105, + 122, + -115, + 4, + 7, + -30 + ], + [ + 84, + -27, + -114, + 12, + -77, + -38 + ], + [ + 0, + 57, + -57, + -31, + -111, + -30 + ], + [ + 20, + 29, + -53, + -113, + 19, + 39 + ], + [ + -107, + 1, + -104, + -13, + 36, + 56 + ] + ], + [ + [ + 54, + 66, + -67, + 88, + -39, + -33 + ], + [ + 73, + -45, + -109, + 54, + 41, + 20 + ], + [ + -92, + 33, + -78, + 14, + 2, + 69 + ], + [ + 122, + -80, + -99, + 14, + 115, + -88 + ], + [ + -4, + -24, + -47, + 41, + -53, + -2 + ], + [ + 88, + -31, + -123, + 98, + -58, + 69 + ], + [ + 67, + 6, + -106, + 115, + 46, + -20 + ], + [ + 90, + 73, + 66, + -86, + 34, + -55 + ], + [ + -108, + -42, + -102, + -101, + 58, + 0 + ], + [ + -27, + -79, + 69, + 34, + 21, + -80 + ], + [ + -97, + -97, + -122, + 120, + -34, + 40 + ] + ], + [ + [ + 123, + 111, + -46, + -3, + -10, + -120 + ], + [ + 68, + 19, + -33, + 14, + 60, + -125 + ], + [ + 37, + 92, + 57, + 30, + -105, + 62 + ], + [ + 64, + -2, + 21, + 30, + -97, + -63 + ], + [ + 74, + 121, + -59, + -26, + 106, + -87 + ], + [ + -62, + -114, + -68, + 34, + -39, + 123 + ], + [ + 100, + 101, + 57, + 51, + 2, + 125 + ], + [ + -104, + 57, + -93, + -42, + -63, + 25 + ], + [ + 73, + -108, + 26, + -72, + -109, + -22 + ], + [ + 20, + -77, + -29, + 116, + -40, + 126 + ], + [ + 85, + -34, + 19, + 53, + -10, + -24 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/test.json new file mode 100644 index 000000000..4d0870c71 --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/test.json @@ -0,0 +1,136 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 12, + 11, + 2 + ], + input_zp: -103, + weight_zp: 57, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 11, + 6 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 6 + ], + type: "INT8", + data: [ + 212, + 163, + 134, + 214, + 75, + 187, + 174, + 211, + 25, + 183, + 184, + 156 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 3, + 177, + 11, + 213, + 185, + 99, + 169, + 183 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 11, + 2 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |