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/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_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/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48')
3 files changed, 471 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/desc.json new file mode 100644 index 000000000..bf7c1974a --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/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/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/input-0.json new file mode 100644 index 000000000..8d57ea999 --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/input-0.json @@ -0,0 +1,173 @@ +{ + "type": "int32", + "data": [ + [ + 28366, + 25631, + 31991, + 2757, + 2539, + -1730, + 1445, + 6070, + 2641, + -17285, + 9182, + -10681 + ], + [ + -28257, + 32111, + -13339, + 3713, + 7329, + -20867, + -17386, + -1796, + 7163, + 31987, + 26260, + 31906 + ], + [ + 17593, + 16450, + 2205, + -8249, + -14492, + 14552, + -5793, + 29298, + -27136, + 2381, + -23261, + -5854 + ], + [ + 32674, + -17758, + 27315, + 27615, + 7703, + 29023, + 8464, + 25078, + -14378, + -13199, + -7112, + 26268 + ], + [ + -19329, + 32020, + 29513, + 243, + 20653, + -28065, + -13521, + -9403, + -9008, + -24539, + -32043, + -6800 + ], + [ + -15213, + 29766, + -15381, + 19572, + -22697, + 31072, + 27223, + -29532, + -31251, + 25366, + 3974, + 11673 + ], + [ + -5420, + -27672, + -6533, + 19109, + -22903, + -10292, + 19211, + 4375, + -11528, + 10085, + 12082, + 12865 + ], + [ + -12070, + 26723, + 26769, + 7849, + -17865, + -8725, + 21774, + 20622, + 15959, + -949, + 24255, + -10596 + ], + [ + 31899, + 28753, + 5096, + 32155, + 15068, + -14566, + 4622, + -15014, + 25841, + 29085, + 7663, + -32610 + ], + [ + 22685, + -17108, + -15429, + -30582, + -29820, + 27800, + -26292, + 2248, + 10000, + 8336, + 21978, + 21366 + ], + [ + -16895, + 12831, + 5916, + -18535, + 1657, + 13363, + 10415, + 5110, + -17664, + 19453, + -18213, + -4165 + ], + [ + 18320, + 26611, + -29590, + 23758, + 12713, + -21740, + -28081, + -20028, + -26007, + -11999, + -16852, + -25227 + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/test.json new file mode 100644 index 000000000..607e1c104 --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputList_12x12_i16xi8_acci48/test.json @@ -0,0 +1,276 @@ +{ + 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: "FULLY_CONNECTED", + attribute_type: "FullyConnectedAttribute", + attribute: { + input_zp: 0, + weight_zp: 121, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 10, + 12 + ], + type: "INT8", + data: [ + 215, + 82, + 124, + 92, + 244, + 38, + 237, + 18, + 69, + 220, + 197, + 94, + 24, + 4, + 51, + 128, + 91, + 86, + 159, + 200, + 39, + 77, + 129, + 169, + 255, + 158, + 220, + 4, + 80, + 184, + 58, + 196, + 49, + 178, + 171, + 71, + 207, + 109, + 201, + 182, + 177, + 221, + 235, + 180, + 236, + 47, + 217, + 129, + 75, + 134, + 48, + 184, + 75, + 2, + 78, + 219, + 184, + 147, + 114, + 93, + 38, + 89, + 76, + 140, + 109, + 119, + 80, + 37, + 15, + 231, + 250, + 186, + 12, + 210, + 95, + 140, + 144, + 91, + 227, + 15, + 200, + 185, + 242, + 161, + 26, + 162, + 69, + 229, + 130, + 246, + 238, + 142, + 202, + 201, + 60, + 68, + 198, + 110, + 187, + 6, + 172, + 167, + 0, + 190, + 141, + 123, + 50, + 45, + 98, + 58, + 178, + 102, + 254, + 91, + 97, + 129, + 90, + 148, + 72, + 42 + ] + }, + { + name: "const-2", + shape: [ + 10 + ], + type: "INT48", + data: [ + 31, + 238, + 124, + 141, + 224, + 239, + 252, + 94, + 106, + 73, + 183, + 123, + 69, + 142, + 155, + 48, + 247, + 189, + 178, + 220, + 237, + 236, + 34, + 162, + 231, + 153, + 40, + 87, + 199, + 233, + 38, + 213, + 189, + 208, + 178, + 166, + 29, + 150, + 153, + 244, + 132, + 248, + 118, + 125, + 74, + 170, + 128, + 30, + 100, + 94, + 67, + 22, + 36, + 229, + 179, + 77, + 245, + 221, + 182, + 192 + ] + }, + { + name: "result-0", + shape: [ + 12, + 10 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |