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_2x11x4x2_i16_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_2x11x4x2_i16_roundFalse')
5 files changed, 1217 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/Conformance-result-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/Conformance-result-0.json new file mode 100644 index 000000000..a6e3a8ef9 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/Conformance-result-0.json @@ -0,0 +1,405 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -3392, + -24321 + ], + [ + -15, + -6 + ], + [ + 182, + 185 + ], + [ + -57, + -88 + ] + ], + [ + [ + 125, + 1687 + ], + [ + 0, + -1 + ], + [ + -322, + 211 + ], + [ + -2, + -3 + ] + ], + [ + [ + -481, + -100 + ], + [ + -7089, + 4132 + ], + [ + -2, + 0 + ], + [ + 2949, + -617 + ] + ], + [ + [ + -1306, + 28 + ], + [ + 1, + -2 + ], + [ + -1, + 0 + ], + [ + -1, + -1 + ] + ], + [ + [ + -155, + -202 + ], + [ + 3, + -1 + ], + [ + -69, + 313 + ], + [ + -5, + -13 + ] + ], + [ + [ + 90, + -114 + ], + [ + 4715, + -15348 + ], + [ + -294, + -470 + ], + [ + 204, + -37 + ] + ], + [ + [ + -645, + 988 + ], + [ + -945, + 132 + ], + [ + -2, + 13 + ], + [ + -24646, + 29657 + ] + ], + [ + [ + -4285, + 2923 + ], + [ + 3, + -3 + ], + [ + -757, + -417 + ], + [ + 39, + 52 + ] + ], + [ + [ + 55, + -36 + ], + [ + 27, + -90 + ], + [ + 215, + -87 + ], + [ + 109, + 94 + ] + ], + [ + [ + 3, + -1 + ], + [ + -1, + 0 + ], + [ + -1381, + -1591 + ], + [ + 1, + 20 + ] + ], + [ + [ + 0, + 0 + ], + [ + -21109, + -3317 + ], + [ + 1, + -3 + ], + [ + -249, + -219 + ] + ] + ], + [ + [ + [ + 0, + 0 + ], + [ + -31, + -31 + ], + [ + -4, + 3 + ], + [ + -6419, + 4250 + ] + ], + [ + [ + -4256, + -2694 + ], + [ + -1, + 1 + ], + [ + -120, + -38 + ], + [ + -57, + -59 + ] + ], + [ + [ + -5031, + 6757 + ], + [ + -995, + -671 + ], + [ + -1, + 3 + ], + [ + -660, + -649 + ] + ], + [ + [ + -23, + -23 + ], + [ + -841, + 213 + ], + [ + -1945, + -1123 + ], + [ + -4881, + -3417 + ] + ], + [ + [ + 1, + 0 + ], + [ + 0, + -1 + ], + [ + 14041, + -14913 + ], + [ + 8, + 612 + ] + ], + [ + [ + 4, + 55 + ], + [ + -190, + -478 + ], + [ + 8, + -14 + ], + [ + 1084, + 956 + ] + ], + [ + [ + 22562, + -1382 + ], + [ + 809, + -677 + ], + [ + -9, + -49 + ], + [ + 4372, + 3510 + ] + ], + [ + [ + 2, + 2 + ], + [ + -12553, + -28308 + ], + [ + 14065, + -236 + ], + [ + -104, + 109 + ] + ], + [ + [ + 126, + -14 + ], + [ + 1106, + -1900 + ], + [ + -1666, + -916 + ], + [ + 5119, + -12013 + ] + ], + [ + [ + -30, + 10 + ], + [ + 276, + 244 + ], + [ + 9804, + 9923 + ], + [ + 104, + 19 + ] + ], + [ + [ + 1, + -1 + ], + [ + -1648, + 1032 + ], + [ + -1, + 1 + ], + [ + -352, + 1440 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/desc.json @@ -0,0 +1,22 @@ +{ + "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": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/input-0.json new file mode 100644 index 000000000..844720382 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/input-0.json @@ -0,0 +1,405 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -3392, + -24321 + ], + [ + -14452, + -5668 + ], + [ + 23296, + 23767 + ], + [ + -7217, + -11194 + ] + ], + [ + [ + 2013, + 26992 + ], + [ + 31229, + -17907 + ], + [ + -20547, + 13551 + ], + [ + -13016, + -19677 + ] + ], + [ + [ + -30732, + -6344 + ], + [ + -7089, + 4132 + ], + [ + -19649, + 14048 + ], + [ + 11798, + -2468 + ] + ], + [ + [ + -20885, + 455 + ], + [ + 11456, + -8342 + ], + [ + -15501, + 426 + ], + [ + -9489, + -6520 + ] + ], + [ + [ + -9906, + -12881 + ], + [ + 14205, + -2606 + ], + [ + -2195, + 10032 + ], + [ + -9090, + -26147 + ] + ], + [ + [ + 23109, + -29118 + ], + [ + 4715, + -15348 + ], + [ + -18755, + -30019 + ], + [ + 26220, + -4640 + ] + ], + [ + [ + -10313, + 15809 + ], + [ + -30214, + 4230 + ], + [ + -354, + 3502 + ], + [ + -24646, + 29657 + ] + ], + [ + [ + -17140, + 11694 + ], + [ + 16194, + -10225 + ], + [ + -24200, + -13326 + ], + [ + 20115, + 26640 + ] + ], + [ + [ + 28633, + -17937 + ], + [ + 6981, + -22870 + ], + [ + 13786, + -5514 + ], + [ + 13997, + 12132 + ] + ], + [ + [ + 32296, + -745 + ], + [ + -10385, + 1753 + ], + [ + -22096, + -25444 + ], + [ + 1256, + 21325 + ] + ], + [ + [ + 2179, + 18476 + ], + [ + -21109, + -3317 + ], + [ + 7412, + -9983 + ], + [ + -31843, + -27955 + ] + ] + ], + [ + [ + [ + 28027, + 6890 + ], + [ + -15429, + -15807 + ], + [ + -30176, + 29148 + ], + [ + -25674, + 17003 + ] + ], + [ + [ + -17024, + -10773 + ], + [ + -14818, + 21267 + ], + [ + -30618, + -9681 + ], + [ + -14461, + -14880 + ] + ], + [ + [ + -20124, + 27030 + ], + [ + -7955, + -5361 + ], + [ + -7526, + 31471 + ], + [ + -10551, + -10376 + ] + ], + [ + [ + -11278, + -11340 + ], + [ + -26888, + 6833 + ], + [ + -31117, + -17961 + ], + [ + -19523, + -13665 + ] + ], + [ + [ + 16819, + 6520 + ], + [ + 32165, + -9752 + ], + [ + 28083, + -29825 + ], + [ + 276, + 19585 + ] + ], + [ + [ + 2085, + 28397 + ], + [ + -12152, + -30584 + ], + [ + 17952, + -28312 + ], + [ + 17351, + 15297 + ] + ], + [ + [ + 22562, + -1382 + ], + [ + 25919, + -21638 + ], + [ + -4303, + -24784 + ], + [ + 17489, + 14042 + ] + ], + [ + [ + 20080, + 17323 + ], + [ + -12553, + -28308 + ], + [ + 28130, + -471 + ], + [ + -26586, + 27988 + ] + ], + [ + [ + 32392, + -3572 + ], + [ + 17700, + -30390 + ], + [ + -26656, + -14643 + ], + [ + 10238, + -24025 + ] + ], + [ + [ + -30529, + 11060 + ], + [ + 17706, + 15677 + ], + [ + 19609, + 19847 + ], + [ + 6711, + 1272 + ] + ], + [ + [ + 23387, + -9960 + ], + [ + -26354, + 16512 + ], + [ + -14686, + 31382 + ], + [ + -5625, + 23055 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/input-1.json new file mode 100644 index 000000000..37715ea76 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/input-1.json @@ -0,0 +1,317 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 0 + ], + [ + 10 + ], + [ + 7 + ], + [ + 7 + ] + ], + [ + [ + 4 + ], + [ + 15 + ], + [ + 6 + ], + [ + 13 + ] + ], + [ + [ + 6 + ], + [ + 0 + ], + [ + 14 + ], + [ + 2 + ] + ], + [ + [ + 4 + ], + [ + 13 + ], + [ + 14 + ], + [ + 14 + ] + ], + [ + [ + 6 + ], + [ + 12 + ], + [ + 5 + ], + [ + 11 + ] + ], + [ + [ + 8 + ], + [ + 0 + ], + [ + 6 + ], + [ + 7 + ] + ], + [ + [ + 4 + ], + [ + 5 + ], + [ + 8 + ], + [ + 0 + ] + ], + [ + [ + 2 + ], + [ + 12 + ], + [ + 5 + ], + [ + 9 + ] + ], + [ + [ + 9 + ], + [ + 8 + ], + [ + 6 + ], + [ + 7 + ] + ], + [ + [ + 13 + ], + [ + 15 + ], + [ + 4 + ], + [ + 10 + ] + ], + [ + [ + 15 + ], + [ + 0 + ], + [ + 12 + ], + [ + 7 + ] + ] + ], + [ + [ + [ + 15 + ], + [ + 9 + ], + [ + 13 + ], + [ + 2 + ] + ], + [ + [ + 2 + ], + [ + 14 + ], + [ + 8 + ], + [ + 8 + ] + ], + [ + [ + 2 + ], + [ + 3 + ], + [ + 13 + ], + [ + 4 + ] + ], + [ + [ + 9 + ], + [ + 5 + ], + [ + 4 + ], + [ + 2 + ] + ], + [ + [ + 14 + ], + [ + 15 + ], + [ + 1 + ], + [ + 5 + ] + ], + [ + [ + 9 + ], + [ + 6 + ], + [ + 11 + ], + [ + 4 + ] + ], + [ + [ + 0 + ], + [ + 5 + ], + [ + 9 + ], + [ + 2 + ] + ], + [ + [ + 13 + ], + [ + 0 + ], + [ + 1 + ], + [ + 8 + ] + ], + [ + [ + 8 + ], + [ + 4 + ], + [ + 4 + ], + [ + 1 + ] + ], + [ + [ + 10 + ], + [ + 6 + ], + [ + 1 + ], + [ + 6 + ] + ], + [ + [ + 14 + ], + [ + 4 + ], + [ + 14 + ], + [ + 4 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/test.json new file mode 100644 index 000000000..2e891d4cd --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundFalse/test.json @@ -0,0 +1,68 @@ +{ + 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" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2 + ], + type: "INT16" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |