diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:54:26 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:54:26 +0100 |
commit | ab4bb694c6df1a837be89d0271fb21377a086658 (patch) | |
tree | 3072e003a6982722bc90e16fbd3b4e1faf2cf3e9 /operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11 | |
parent | d065e338624da04730c490bbaae208d111176f22 (diff) | |
download | conformance_tests-ab4bb694c6df1a837be89d0271fb21377a086658.tar.gz |
Updating CONV2D_1X1 tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Id1fb1687ffc4de1b92336ffbf65087c0d1ebf905
Diffstat (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11')
3 files changed, 1539 insertions, 0 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/desc.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/desc.json new file mode 100644 index 000000000..2b74f86d0 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/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/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/input-0.json new file mode 100644 index 000000000..b98b6c787 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/input-0.json @@ -0,0 +1,1255 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 8684, + 8980, + 766, + 2089, + 32239, + -16140, + -21374, + 19606, + 28531, + 7122, + -6451, + -9929, + -2098, + -29331, + 1874 + ], + [ + -15100, + -15377, + 3955, + 30386, + -19277, + 26967, + 1271, + 30992, + -7720, + 32566, + 10483, + 11128, + 4143, + -3167, + 1645 + ], + [ + 22985, + 19159, + -31208, + 12754, + 21915, + 15999, + -178, + -10780, + 11352, + 10726, + -8255, + -6138, + -8610, + -29820, + -30690 + ], + [ + -27324, + -4995, + 682, + -6007, + 29830, + -18037, + -7015, + -16560, + -13124, + 5514, + -12458, + -11943, + 11195, + 21643, + -18838 + ], + [ + -25469, + -17074, + 5088, + 30126, + -22280, + -29966, + 1850, + 32173, + 3443, + 27817, + 9325, + -30697, + -4757, + 17697, + 620 + ], + [ + -20002, + -20910, + 10717, + -2424, + 4858, + -8322, + -10549, + 10887, + -32260, + -4272, + -8475, + 18306, + 14969, + -4851, + -15551 + ] + ], + [ + [ + -17317, + -18924, + -14832, + 17077, + -29801, + -31056, + 2616, + -18124, + 21684, + 16528, + 17636, + -2817, + -4078, + -4877, + -19916 + ], + [ + 4412, + 23821, + -15950, + -29047, + 4240, + -6605, + 19493, + 23371, + 29533, + -7001, + 26328, + -25043, + -8341, + -15339, + 27728 + ], + [ + 6555, + -8792, + -22805, + 18545, + 10153, + 23131, + -4053, + -22944, + -10854, + 7869, + -16979, + -28134, + 21189, + 2000, + -6772 + ], + [ + 3463, + 15628, + -32680, + -3909, + -16107, + -26748, + -30411, + -3900, + 2880, + 503, + 18543, + -2763, + 5891, + 20725, + 10308 + ], + [ + 26925, + -18246, + 18794, + 12893, + 5425, + -32523, + 2716, + 23492, + 9477, + -32434, + -13905, + 4544, + 20437, + -3610, + 23386 + ], + [ + 19389, + -15256, + -19992, + 26399, + 5846, + 22854, + 27665, + -4949, + -29771, + 26804, + 5477, + -24875, + 1952, + -30934, + -13776 + ] + ], + [ + [ + -9971, + -2992, + 4288, + 22242, + -9736, + 15422, + 28971, + 16286, + -16076, + 11647, + -14339, + -1448, + 8836, + -13551, + -32515 + ], + [ + 22096, + 14913, + -24699, + -8031, + -15618, + 31309, + 28954, + 12544, + -3882, + -29347, + -16586, + -26698, + 18972, + -26990, + 11633 + ], + [ + 29663, + -12588, + 12062, + 24845, + -4745, + -3353, + -19630, + -4751, + 24486, + 10705, + -19559, + 1739, + 13544, + -27700, + 17257 + ], + [ + -19579, + -13458, + -5483, + 322, + 27263, + -18155, + -16001, + -7935, + 23414, + 30483, + -2983, + 12657, + 27345, + 22715, + 11879 + ], + [ + 2660, + 31742, + -17103, + -8994, + 13951, + -31399, + 37, + 23228, + -21179, + 19864, + -5739, + 23626, + 8836, + -22468, + 15422 + ], + [ + -29089, + -16829, + 25453, + 24641, + -29732, + -7894, + -26599, + -14999, + 30635, + -19981, + 9270, + 19934, + 24967, + -9558, + 12902 + ] + ], + [ + [ + -1088, + -25734, + -18166, + 16264, + 12195, + 1382, + 18417, + 12534, + -10524, + -13504, + 29168, + 30922, + -30762, + 19054, + -24056 + ], + [ + 23673, + 5818, + 12305, + 13199, + 6876, + -16340, + 20131, + 3543, + 2952, + -11903, + -32110, + 3544, + -10153, + 10441, + -8879 + ], + [ + 30985, + 11853, + -2904, + 13644, + 9713, + 7899, + 5114, + 28303, + -11957, + -4434, + -16184, + 4555, + 31973, + 7102, + -19212 + ], + [ + 27624, + 19023, + -3924, + -23162, + -6380, + 19945, + 5053, + -20597, + -22378, + 30615, + -3459, + 12188, + -9133, + -26863, + -5772 + ], + [ + 12660, + -10923, + 6790, + -4057, + -10647, + -16056, + -15681, + -16010, + 14336, + -10661, + 15817, + -12383, + -11325, + 27802, + 24656 + ], + [ + -6508, + -15151, + 14131, + -28190, + -2854, + 6544, + 11519, + -25752, + -32572, + -14637, + -24954, + 470, + 27492, + -14002, + -3034 + ] + ], + [ + [ + -18678, + -29886, + 13315, + -15965, + 3080, + 11999, + 22266, + -20607, + 5324, + 26919, + -1085, + -30107, + -15647, + 19316, + 19140 + ], + [ + -12158, + -19866, + -13647, + -16894, + 15792, + 22386, + -29714, + 15806, + 16545, + 7397, + 24333, + -30218, + 13090, + -24429, + 26018 + ], + [ + -3, + -26814, + 16144, + 16332, + -2353, + -12425, + -31635, + 26736, + -20692, + 22458, + 5817, + 12137, + 12728, + 23467, + -30578 + ], + [ + 32190, + -29929, + 32706, + -15643, + 22665, + -27296, + -2561, + 2748, + 29774, + -24662, + -30378, + 9713, + -29541, + 18168, + -30257 + ], + [ + 30835, + 2143, + 29386, + -24469, + -14853, + -2957, + -30841, + -26023, + -11180, + 15534, + 13662, + -27079, + -28849, + 10225, + -9194 + ], + [ + 19144, + -13237, + -8990, + -18393, + -15303, + 13508, + -1886, + 10426, + -27614, + 2326, + -2711, + 26920, + -5015, + -26009, + 12922 + ] + ], + [ + [ + -22958, + 26808, + -7639, + 18647, + 10215, + -2303, + 5510, + -20794, + -27916, + 17451, + 30043, + 23718, + -12776, + -9305, + -9243 + ], + [ + 13274, + 8102, + 19429, + 29174, + -7053, + 10661, + 27, + 29804, + -9568, + -20475, + -7941, + 7786, + 29711, + 21553, + -31565 + ], + [ + 591, + -22340, + -9033, + 29094, + 31769, + -22697, + -23529, + 12865, + -5838, + -4402, + 24469, + 27564, + 26245, + 18545, + 31482 + ], + [ + 14408, + 25221, + 2646, + -29429, + 20739, + 28165, + -12301, + -4708, + 4726, + 9936, + 11452, + -6929, + 23226, + 20556, + 28984 + ], + [ + 4975, + -27692, + 22645, + -27559, + -20069, + -14079, + -20645, + 14663, + -3908, + -18395, + -32457, + -18587, + 12638, + 19286, + -13366 + ], + [ + -27968, + 3755, + 18539, + -28181, + 19368, + -21585, + -15866, + 8051, + -29402, + -12737, + -23666, + -18696, + 17917, + -17771, + -29918 + ] + ], + [ + [ + -18690, + -27083, + 8051, + 30988, + -21779, + 14998, + -8998, + -28061, + 12313, + -19012, + 895, + 465, + 6375, + -23925, + -16325 + ], + [ + 15554, + 28358, + -32000, + -5645, + 24995, + -13962, + -3434, + 26497, + 30734, + 10177, + 12722, + 7467, + -14181, + 25345, + -30535 + ], + [ + -28932, + 6671, + 22130, + 20593, + 11656, + -8108, + -9176, + -4873, + -15968, + -5300, + -25900, + -11805, + 28906, + 13561, + -23468 + ], + [ + -14007, + -15766, + -14309, + 12524, + 25887, + 13772, + -759, + -22232, + -23404, + 20586, + 11640, + 674, + 5058, + 22836, + 20566 + ], + [ + -27048, + -6875, + -29962, + -7551, + 8977, + -19111, + -22937, + -595, + 1635, + 14031, + -31844, + -16517, + 18345, + 11926, + 26183 + ], + [ + 20628, + 22209, + 697, + 30038, + -5509, + 26417, + -7088, + -3669, + 12166, + -6662, + -23128, + 25964, + -3085, + 27979, + -6612 + ] + ], + [ + [ + 30987, + 6743, + 17584, + 16746, + -19531, + 20675, + 29160, + 10559, + 29303, + 22681, + 10887, + -1494, + 23414, + -20612, + 4009 + ], + [ + 20691, + 29106, + -15263, + -26612, + -10921, + 23852, + 1561, + -29131, + -24946, + -10545, + -10307, + -23900, + -384, + -1368, + -19707 + ], + [ + -17548, + 10775, + 29627, + 32538, + 3887, + -30245, + 26065, + 29525, + -14546, + -6531, + -31066, + 19739, + 18065, + -31417, + 13263 + ], + [ + -5775, + 2981, + -18460, + 20666, + -6265, + 22287, + -23051, + 5760, + -12442, + 30535, + 3728, + 14399, + -27120, + 11591, + -26144 + ], + [ + -9082, + -18188, + -32620, + 5654, + -16978, + 824, + 17296, + -21093, + 13754, + -13302, + -11075, + 5045, + 8230, + 10184, + -19970 + ], + [ + 5217, + -15491, + -14620, + 29321, + -26155, + -5690, + -3979, + -16713, + 18701, + -845, + 14378, + -7405, + 26002, + 15042, + -10933 + ] + ], + [ + [ + 30285, + 23924, + 6012, + -31691, + 5973, + 12507, + -8859, + -23338, + 4235, + 19759, + -11841, + -2864, + -32697, + 13359, + 23992 + ], + [ + 18110, + -4624, + -29813, + -519, + 28863, + -27296, + -18748, + 22092, + 4469, + -21605, + -31179, + -5858, + 6220, + 22299, + 25152 + ], + [ + -2767, + -5081, + 28255, + 18145, + -19051, + 11879, + 14105, + -17439, + 31326, + -13315, + 3251, + -412, + 12594, + 26322, + -6998 + ], + [ + -7568, + 16471, + 29640, + 26795, + 16564, + 13307, + 17611, + 28569, + -32071, + 5809, + -30538, + 5055, + -6900, + -12804, + 25623 + ], + [ + 13738, + 4418, + 25031, + -26352, + 9588, + -22529, + -17496, + -20634, + 2890, + 8457, + 16773, + -3892, + 28794, + -8286, + -22506 + ], + [ + -30375, + -24413, + -3597, + -5706, + 23214, + -24536, + -15576, + 31485, + -30897, + -4961, + -19777, + 2202, + 31041, + -17886, + -8496 + ] + ], + [ + [ + -3335, + 19562, + 31764, + -26442, + -742, + 16554, + -32190, + 20061, + -16874, + 1205, + 31356, + 8856, + 32051, + 6780, + -18974 + ], + [ + 12623, + 7553, + -12406, + -27728, + 9712, + 5075, + 17932, + -24516, + 2539, + 20883, + 25640, + 28807, + -18878, + -21432, + 4981 + ], + [ + -2444, + -17411, + -26081, + -23355, + -10543, + 15695, + -28502, + -25874, + -15431, + 24493, + 32127, + -3922, + -29845, + -31986, + 23525 + ], + [ + -3620, + -27693, + 21851, + 1900, + -9847, + -3138, + -18018, + 28282, + 18858, + -19724, + 15394, + -20993, + -3062, + 16299, + -30385 + ], + [ + 14792, + -17961, + 13053, + -55, + -31056, + 17163, + -15732, + 29643, + 22275, + -20131, + 6609, + -9042, + 6697, + 3735, + -13375 + ], + [ + 9922, + -15718, + 26695, + 29265, + -21896, + 14926, + 28139, + -24454, + 15704, + 28685, + -18016, + 5398, + 19519, + -10921, + -17183 + ] + ], + [ + [ + -6742, + -10788, + 14772, + -8459, + -8109, + 29131, + 5160, + 28138, + 13795, + 25244, + -19964, + 28716, + 29113, + -30097, + -9426 + ], + [ + -5683, + -5284, + 18245, + 13009, + -18817, + 7129, + 31105, + -3925, + 28063, + 9813, + 27850, + 26399, + -31676, + 19679, + -20376 + ], + [ + 21250, + 20186, + -15833, + -28429, + -5282, + -12913, + 3527, + -27393, + -29872, + -4120, + 17681, + -12126, + -11570, + -22019, + -14248 + ], + [ + -13188, + -15776, + -10245, + -14197, + 11850, + -10616, + 16695, + 6869, + 9206, + 5476, + 27712, + -16010, + 31613, + -19240, + -23709 + ], + [ + 21388, + 25949, + -26692, + 6539, + 840, + -18343, + 1347, + 12175, + 4858, + 1294, + 25273, + -17988, + 8120, + -12022, + 31040 + ], + [ + -16283, + 24336, + 8659, + -18695, + 16953, + -16962, + -15577, + -10173, + 11910, + -7110, + 4531, + 3473, + -19882, + -17531, + -12661 + ] + ], + [ + [ + -18197, + 27442, + -7774, + -6235, + 11273, + 18879, + 12329, + 3353, + 31202, + 26203, + -19503, + -22281, + -7022, + 21978, + 30453 + ], + [ + 13279, + 12452, + -17453, + 6047, + -20689, + 2598, + -20071, + -27820, + 30624, + 25780, + 12145, + 8225, + -17040, + 4696, + 16258 + ], + [ + 2588, + -14291, + -7084, + 22345, + -16079, + 30238, + 16732, + 25574, + 627, + -18106, + -30544, + 2288, + -6613, + -25318, + 28088 + ], + [ + 30819, + -8265, + 11013, + -5687, + -210, + 8123, + -5477, + 19770, + -20360, + 11040, + 31662, + 22941, + -29772, + -25299, + 8436 + ], + [ + 27826, + 22546, + 26471, + -22956, + 1254, + 14803, + 8175, + 18155, + -18822, + -2815, + -3412, + 28827, + -19484, + -11379, + -31328 + ], + [ + -22823, + 31516, + 22785, + -15785, + 13242, + 6101, + 26645, + -13091, + 32397, + -8479, + 14212, + -6701, + 11241, + -10811, + 22498 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..dff8134dd --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json @@ -0,0 +1,262 @@ +{ + 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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: -20, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 6, + 15 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 7, + 1, + 1, + 15 + ], + type: "INT8", + data: [ + 35, + 201, + 117, + 53, + 237, + 162, + 121, + 65, + 42, + 85, + 27, + 187, + 188, + 148, + 144, + 58, + 90, + 169, + 18, + 159, + 234, + 74, + 79, + 114, + 207, + 114, + 72, + 214, + 211, + 155, + 107, + 180, + 196, + 233, + 163, + 78, + 50, + 168, + 169, + 133, + 115, + 239, + 39, + 166, + 187, + 10, + 181, + 28, + 108, + 206, + 27, + 106, + 100, + 129, + 156, + 124, + 108, + 210, + 5, + 18, + 43, + 64, + 223, + 99, + 143, + 136, + 117, + 173, + 126, + 201, + 221, + 135, + 113, + 219, + 170, + 251, + 167, + 74, + 146, + 255, + 228, + 137, + 141, + 4, + 229, + 161, + 163, + 78, + 59, + 27, + 85, + 145, + 48, + 64, + 179, + 9, + 68, + 26, + 191, + 42, + 66, + 130, + 17, + 1, + 221 + ] + }, + { + name: "const-2", + shape: [ + 7 + ], + type: "INT48", + data: [ + 83, + 11, + 169, + 193, + 95, + 149, + 10, + 192, + 201, + 169, + 215, + 83, + 84, + 107, + 4, + 24, + 141, + 112, + 123, + 237, + 110, + 150, + 121, + 42, + 183, + 148, + 52, + 50, + 236, + 118, + 27, + 156, + 11, + 237, + 33, + 111, + 158, + 250, + 44, + 219, + 209, + 177 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 6, + 7 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |