diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:32 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:32 +0100 |
commit | 7a972150d7bfd82a775fd1db6b70a8644e285836 (patch) | |
tree | 6db4df3ea036cb17a0ad9410ad632e9bb5e192b7 /operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse | |
parent | 14a8c70ad3e31e45ced57b363202ccd5342f291a (diff) | |
download | conformance_tests-7a972150d7bfd82a775fd1db6b70a8644e285836.tar.gz |
Updating ARITHMETIC_RIGHT_SHIFT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I04d4bb6669b1967fef686cf67549bb08344c2570
Diffstat (limited to 'operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse')
4 files changed, 123 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/desc.json new file mode 100644 index 000000000..32d976811 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/desc.json @@ -0,0 +1,20 @@ +{ + "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" +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/input-0.json new file mode 100644 index 000000000..100123c60 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/input-0.json @@ -0,0 +1,37 @@ +{ + "type": "int32", + "data": [ + 626239218, + -1484691048, + -237554458, + -227816128, + 2111253958, + 1749461932, + -252677921, + 915949951, + -1378375225, + 1115357880, + -737011871, + 1751644961, + -1690002550, + -1718167730, + 824305028, + 802406916, + 1216544837, + -438210660, + 834660941, + 147006573, + 1294241511, + -1266421422, + -248824291, + -1578474672, + 1476052953, + 2029731869, + -120618149, + -1081089962, + 980932213, + 2133389430, + -1383570056, + 1379520440 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/input-1.json new file mode 100644 index 000000000..a76a8b1e4 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 4 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/test.json new file mode 100644 index 000000000..7c4d30c82 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_ERRORIF_WrongInputList_32_i32_roundFalse/test.json @@ -0,0 +1,60 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + inputs: [ + "input-0", + "input-1", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 32 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 32 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |