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/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse | |
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/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse')
4 files changed, 227 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/desc.json new file mode 100644 index 000000000..a4740efbc --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/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/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/input-0.json new file mode 100644 index 000000000..1b603d355 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/input-0.json @@ -0,0 +1,125 @@ +{ + "type": "int32", + "data": [ + [ + -1576488565, + -1596224116, + -2112886686, + -1068798015, + -675874066, + -1081518524, + 1287968431, + 1870167228, + 1981782776, + 1191839724 + ], + [ + 1595877267, + 1547172460, + -518537267, + -432979572, + -546753580, + 1021618916, + 1585899459, + 2127335426, + -559538410, + -486477045 + ], + [ + 543199543, + -1648813549, + -1373232891, + 1980287560, + 754207950, + 165718084, + 483825084, + 835303994, + 1129263260, + -974447753 + ], + [ + -301086663, + 1311362952, + -397688183, + 1756815805, + 1875065881, + 498337753, + 1000765487, + 1322513343, + -1807155136, + 1139639702 + ], + [ + 1066043224, + 1938425996, + -2004765310, + -1900543345, + 1761566188, + -1616183394, + 2076311686, + -23336307, + -1476523296, + 1065849028 + ], + [ + -1951734383, + -940787217, + -673207294, + 1079673619, + 442892456, + -1894151293, + -1022825943, + -931881374, + 265505545, + 1192806554 + ], + [ + -1813579670, + 140022351, + -1236870932, + -143254239, + 623505695, + 39660363, + -401990999, + -426849544, + -1725611765, + -1702911155 + ], + [ + -1485208932, + -1070283512, + 1660831296, + -84646166, + 1914508079, + 1100193168, + -587835457, + -1379674397, + -619803150, + -1825633449 + ], + [ + 235837831, + 1383552444, + 1906288315, + -135377437, + 1363715048, + 39796922, + 2013212085, + 2103593305, + -562164249, + -1757505592 + ], + [ + 1315962379, + -94554318, + -217726485, + -708031395, + -1513197149, + 1496770582, + 398332541, + -1482463362, + 1976826064, + 1950105416 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/input-1.json new file mode 100644 index 000000000..be08968ba --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/input-1.json @@ -0,0 +1,17 @@ +{ + "type": "int32", + "data": [ + [ + 26, + 30, + 3, + 11, + 25, + 2, + 2, + 26, + 6, + 5 + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/test.json new file mode 100644 index 000000000..c668d99d7 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_10x10_i32_roundFalse/test.json @@ -0,0 +1,61 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |