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_WrongInputType_10x11_i48xi48_acci32 | |
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_WrongInputType_10x11_i48xi48_acci32')
3 files changed, 396 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/desc.json new file mode 100644 index 000000000..992afc22b --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/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": "Input data type not supported for this operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/input-0.json new file mode 100644 index 000000000..f04b8bbc1 --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/input-0.json @@ -0,0 +1,135 @@ +{ + "type": "int64", + "data": [ + [ + -87439404035284, + 86104516034051, + -59325831407486, + -71771953630858, + 55074014496089, + -22636411548319, + -44008506775912, + 16904043649020, + 44896274938298, + -105722749966820, + 111269860628271 + ], + [ + -35925460684774, + -85746877971728, + -104307617268038, + 112346519074843, + -122842270915923, + 58734606298369, + -134992572903995, + 106615414855258, + 115518837751886, + -65502615004968, + -123246878529943 + ], + [ + -129701036084892, + 128931265268226, + 39784301432025, + 127380107704129, + -5524214255314, + 85041730319458, + 126267198697444, + -70052817384548, + -115493303995668, + -61709525655593, + 13511787971555 + ], + [ + 55014283747452, + 133890330601715, + 80144671472945, + -116112132305948, + 118379944267165, + 97095541230264, + -80170313690680, + 110428539632786, + -76793689781560, + 6892775094704, + 75724479966234 + ], + [ + -113778223012462, + 58369263056611, + 4999029156346, + 2707745877020, + 33426558177363, + -119429610015090, + -104911720355240, + -91029645874413, + -98057310632636, + -14296106349800, + 28197346439074 + ], + [ + -103069457762213, + 68934999497594, + 98130391672842, + -113535684443555, + -93368956595109, + -36783866351800, + 44203825135719, + -116690581375209, + -42981026296605, + 138159045135337, + 5688670537710 + ], + [ + -91964177939364, + 31415044361832, + -40404527675946, + 109689820456613, + 126826778843377, + -74514020391902, + 117901306575164, + 77630824034514, + -96934008094446, + 91815654102857, + -90697349906822 + ], + [ + -138006824389879, + 78227938154688, + -43308442526433, + 118683478987227, + -16075614197134, + 31086765863404, + 69193862065481, + 96940607488122, + -90795438233791, + -83283936338985, + 109166408812083 + ], + [ + -58556201362078, + 38632744238425, + -120783128044642, + 47221413467823, + -88323457226813, + 83827312788048, + 68109640521074, + 24774706578854, + -98374761969911, + -66086593507797, + -128863469915347 + ], + [ + -52064934455055, + -33588826302816, + -9785324683119, + 139826048911458, + 63415553977254, + -30138575456772, + 97299397128497, + -37582507257957, + -38720421271152, + -122808128818804, + 66203579402735 + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/test.json new file mode 100644 index 000000000..3b2cf40bc --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongInputType_10x11_i48xi48_acci32/test.json @@ -0,0 +1,239 @@ +{ + 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: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 11 + ], + type: "INT48" + }, + { + name: "const-1", + shape: [ + 2, + 11 + ], + type: "INT48", + data: [ + 51, + 236, + 105, + 196, + 203, + 179, + 43, + 103, + 42, + 249, + 49, + 188, + 159, + 219, + 98, + 6, + 166, + 216, + 5, + 30, + 13, + 86, + 106, + 82, + 105, + 40, + 128, + 223, + 82, + 92, + 64, + 138, + 180, + 215, + 8, + 13, + 140, + 121, + 197, + 99, + 243, + 108, + 254, + 46, + 35, + 171, + 93, + 237, + 18, + 16, + 45, + 163, + 216, + 26, + 162, + 162, + 145, + 222, + 226, + 109, + 222, + 167, + 253, + 38, + 116, + 5, + 117, + 175, + 207, + 247, + 1, + 246, + 19, + 243, + 85, + 155, + 106, + 135, + 234, + 90, + 29, + 167, + 106, + 97, + 165, + 169, + 200, + 197, + 97, + 176, + 162, + 188, + 93, + 206, + 255, + 244, + 144, + 156, + 203, + 221, + 70, + 75, + 127, + 191, + 177, + 115, + 61, + 3, + 145, + 203, + 64, + 148, + 238, + 71, + 171, + 136, + 147, + 204, + 51, + 86, + 136, + 107, + 47, + 159, + 244, + 90, + 99, + 195, + 226, + 245, + 94, + 148 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 105, + 115, + 123, + 253, + 224, + 180, + 182, + 54, + 218, + 86, + 211, + 104 + ] + }, + { + name: "result-0", + shape: [ + 10, + 2 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |