diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:39:55 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-11-16 14:46:02 +0000 |
commit | 874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch) | |
tree | 4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48 | |
parent | 7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff) | |
download | conformance_tests-874bb4fe493b2958a21e9a84c22828e82d4ff167.tar.gz |
Updating conformance files for BF16 support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d
Diffstat (limited to 'operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48')
4 files changed, 454 insertions, 0 deletions
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/desc.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/desc.json new file mode 100644 index 000000000..a4740efbc --- /dev/null +++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/desc.json @@ -0,0 +1,24 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.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/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/input-0.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/input-0.json new file mode 100644 index 000000000..3a2b39d9b --- /dev/null +++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/input-0.json @@ -0,0 +1,233 @@ +{ + "type": "int32", + "data": [ + [ + [ + 6991, + -30880, + -2277, + 10998, + -30408, + 15614, + 31819, + -13570, + 16847, + 2195, + 27403, + 5639 + ], + [ + 19859, + -22227, + -16019, + -3929, + 26451, + 8976, + -18873, + 25276, + 7777, + -5318, + -7587, + 13063 + ], + [ + 24987, + 110, + 22546, + 13571, + -27925, + 18938, + 3965, + 2002, + 7394, + -28764, + 26702, + 24602 + ], + [ + 32666, + 6618, + -17072, + 6595, + -14296, + 620, + 19746, + -21367, + -2962, + -907, + 28153, + 2413 + ], + [ + -10424, + -7618, + -12892, + -22997, + 13785, + 17185, + -19746, + -2845, + 16573, + 13150, + -27527, + -29690 + ], + [ + -28103, + 286, + 27124, + -27933, + 13177, + 15305, + 30385, + 5305, + 29815, + -3186, + -15387, + 30988 + ], + [ + 1397, + -11403, + 9378, + -5054, + 16223, + 15566, + -31538, + 1641, + 23244, + 10388, + 14431, + 31213 + ], + [ + -10239, + 12823, + -30830, + -22892, + 12968, + -19049, + 18818, + 24238, + 25821, + -29624, + -11443, + 601 + ] + ], + [ + [ + -31724, + 26604, + 30493, + 18102, + -14557, + -25188, + 21404, + 15759, + 29212, + -7729, + -21730, + 26298 + ], + [ + -25711, + 4770, + -1870, + 3196, + -6396, + -32198, + 7980, + -16407, + -25084, + -5718, + -13716, + 14674 + ], + [ + -9036, + 1313, + -975, + 23103, + -26026, + -30517, + 24050, + -11608, + 14260, + 6395, + 17266, + 10404 + ], + [ + -16753, + 157, + -12703, + -6629, + 2947, + -28079, + -30731, + 12860, + -26971, + 26458, + 9338, + 20240 + ], + [ + -1876, + 13187, + -20586, + 8792, + -12404, + 17828, + -8706, + 18135, + 25832, + -32314, + -28670, + -9317 + ], + [ + 3070, + 24120, + -3970, + 22988, + 15044, + 13759, + 26861, + -12513, + 11121, + 19523, + 30695, + -17593 + ], + [ + 18796, + -18082, + 30283, + 2341, + 24588, + 4675, + -27825, + -9744, + 7143, + 6801, + 3277, + 13704 + ], + [ + 5065, + -20958, + -27636, + -13854, + -23736, + 13096, + 31272, + 28000, + 4350, + 25194, + 10342, + -24272 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/input-1.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/input-1.json new file mode 100644 index 000000000..99207cc08 --- /dev/null +++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/input-1.json @@ -0,0 +1,129 @@ +{ + "type": "int32", + "data": [ + [ + [ + 5660, + 4569, + 3279 + ], + [ + 19672, + 31866, + -17215 + ], + [ + -31635, + 9384, + -25524 + ], + [ + -4743, + 28337, + 10664 + ], + [ + 28679, + -30664, + 13534 + ], + [ + -12259, + -27894, + -12627 + ], + [ + 28411, + -5330, + 27369 + ], + [ + -25262, + 10239, + -4154 + ], + [ + -13143, + 2719, + 7479 + ], + [ + -31021, + 10082, + -13048 + ], + [ + 19902, + -21150, + -14031 + ], + [ + 30943, + -16574, + -24235 + ] + ], + [ + [ + 3304, + 8350, + 4372 + ], + [ + -6433, + -25733, + -13938 + ], + [ + -29072, + 23204, + -15754 + ], + [ + 10753, + -15714, + 7884 + ], + [ + -26785, + -26631, + -12052 + ], + [ + -15797, + -11660, + -14648 + ], + [ + 12723, + -4301, + -22668 + ], + [ + 27621, + 8849, + -6315 + ], + [ + 623, + -11271, + -7014 + ], + [ + -28120, + 21701, + -7540 + ], + [ + 12859, + -29337, + -26761 + ], + [ + -8834, + -30277, + 30656 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/test.json b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/test.json new file mode 100644 index 000000000..3b4895b9c --- /dev/null +++ b/operators/tensor/matmul/matmul_ERRORIF_WrongInputList_2x8x12_i16_acci48/test.json @@ -0,0 +1,68 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "MATMUL", + attribute_type: "MatMulAttribute", + attribute: { + a_zp: 0, + b_zp: 0, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 8, + 12 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 3 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 2, + 8, + 3 + ], + type: "INT48" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |