aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:32 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:32 +0100
commit7a972150d7bfd82a775fd1db6b70a8644e285836 (patch)
tree6db4df3ea036cb17a0ad9410ad632e9bb5e192b7 /operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue
parent14a8c70ad3e31e45ced57b363202ccd5342f291a (diff)
downloadconformance_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_roundTrue')
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/Conformance-result-0.json405
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/desc.json22
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/input-0.json405
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/input-1.json317
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/test.json68
5 files changed, 1217 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/Conformance-result-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/Conformance-result-0.json
new file mode 100644
index 000000000..dafb26e38
--- /dev/null
+++ b/operators/ew_binary/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 -6
+ ],
+ [
+ -1,
+ 2
+ ],
+ [
+ 5084,
+ -8096
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/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_roundTrue/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/input-0.json
new file mode 100644
index 000000000..02fcf523f
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/input-0.json
@@ -0,0 +1,405 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ -29980,
+ 23905
+ ],
+ [
+ -18115,
+ 4926
+ ],
+ [
+ -2957,
+ -22128
+ ],
+ [
+ -5641,
+ -27316
+ ]
+ ],
+ [
+ [
+ -21190,
+ -23614
+ ],
+ [
+ 21260,
+ 4418
+ ],
+ [
+ 27897,
+ -4196
+ ],
+ [
+ -19573,
+ 7116
+ ]
+ ],
+ [
+ [
+ 28152,
+ 2136
+ ],
+ [
+ -31598,
+ -12870
+ ],
+ [
+ 27850,
+ 1202
+ ],
+ [
+ 29617,
+ 607
+ ]
+ ],
+ [
+ [
+ -31979,
+ 24448
+ ],
+ [
+ 17237,
+ 14106
+ ],
+ [
+ 30815,
+ -19911
+ ],
+ [
+ 26601,
+ -17523
+ ]
+ ],
+ [
+ [
+ 30848,
+ -20223
+ ],
+ [
+ 3298,
+ 18962
+ ],
+ [
+ -27646,
+ -28397
+ ],
+ [
+ 22923,
+ -28808
+ ]
+ ],
+ [
+ [
+ 7459,
+ 28719
+ ],
+ [
+ 7519,
+ -1246
+ ],
+ [
+ -5423,
+ 9054
+ ],
+ [
+ 4708,
+ 115
+ ]
+ ],
+ [
+ [
+ -22703,
+ 10660
+ ],
+ [
+ 15713,
+ 13687
+ ],
+ [
+ -27852,
+ 13296
+ ],
+ [
+ 15058,
+ -20748
+ ]
+ ],
+ [
+ [
+ 22870,
+ 1562
+ ],
+ [
+ -1805,
+ 14597
+ ],
+ [
+ 644,
+ 2932
+ ],
+ [
+ -12307,
+ 28041
+ ]
+ ],
+ [
+ [
+ 30766,
+ -24221
+ ],
+ [
+ 15278,
+ -31239
+ ],
+ [
+ -8586,
+ 30801
+ ],
+ [
+ -21312,
+ -8061
+ ]
+ ],
+ [
+ [
+ -18378,
+ 14956
+ ],
+ [
+ -2365,
+ 6102
+ ],
+ [
+ 29004,
+ 1379
+ ],
+ [
+ 15345,
+ -26352
+ ]
+ ],
+ [
+ [
+ -18662,
+ 29285
+ ],
+ [
+ 23564,
+ 10267
+ ],
+ [
+ -7983,
+ -19674
+ ],
+ [
+ 23050,
+ 18697
+ ]
+ ]
+ ],
+ [
+ [
+ [
+ -16928,
+ 5887
+ ],
+ [
+ 7776,
+ -1477
+ ],
+ [
+ 27962,
+ -24635
+ ],
+ [
+ -15867,
+ -26541
+ ]
+ ],
+ [
+ [
+ 12643,
+ 9437
+ ],
+ [
+ 31936,
+ 2773
+ ],
+ [
+ -22899,
+ -3220
+ ],
+ [
+ -26975,
+ 11200
+ ]
+ ],
+ [
+ [
+ 11416,
+ 23438
+ ],
+ [
+ -10504,
+ -12444
+ ],
+ [
+ -28099,
+ -5561
+ ],
+ [
+ -1619,
+ 16677
+ ]
+ ],
+ [
+ [
+ 16631,
+ -23577
+ ],
+ [
+ -14083,
+ 751
+ ],
+ [
+ -10811,
+ -31094
+ ],
+ [
+ 22655,
+ 15156
+ ]
+ ],
+ [
+ [
+ 1315,
+ -11961
+ ],
+ [
+ 22461,
+ -30456
+ ],
+ [
+ -3514,
+ 19723
+ ],
+ [
+ 29686,
+ -16292
+ ]
+ ],
+ [
+ [
+ 9882,
+ -20337
+ ],
+ [
+ -25173,
+ -9633
+ ],
+ [
+ 25237,
+ 12417
+ ],
+ [
+ -704,
+ -14234
+ ]
+ ],
+ [
+ [
+ -23486,
+ -15024
+ ],
+ [
+ -22762,
+ -20508
+ ],
+ [
+ 12290,
+ -24072
+ ],
+ [
+ -29664,
+ 2774
+ ]
+ ],
+ [
+ [
+ -13986,
+ -2968
+ ],
+ [
+ -23607,
+ -19007
+ ],
+ [
+ -3862,
+ 12453
+ ],
+ [
+ -5613,
+ 2733
+ ]
+ ],
+ [
+ [
+ 1433,
+ -15148
+ ],
+ [
+ -14442,
+ -4868
+ ],
+ [
+ -30668,
+ 12150
+ ],
+ [
+ 7496,
+ -12706
+ ]
+ ],
+ [
+ [
+ -8277,
+ -11227
+ ],
+ [
+ 9917,
+ 17021
+ ],
+ [
+ -25647,
+ -5681
+ ],
+ [
+ -31866,
+ -3130
+ ]
+ ],
+ [
+ [
+ -16496,
+ -10761
+ ],
+ [
+ -2848,
+ -11553
+ ],
+ [
+ -6943,
+ 17352
+ ],
+ [
+ 20335,
+ -32384
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/input-1.json
new file mode 100644
index 000000000..d8964787e
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_sh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],
+ [
+ 15
+ ],
+ [
+ 4
+ ]
+ ],
+ [
+ [
+ 7
+ ],
+ [
+ 0
+ ],
+ [
+ 2
+ ],
+ [
+ 3
+ ]
+ ],
+ [
+ [
+ 0
+ ],
+ [
+ 11
+ ],
+ [
+ 15
+ ],
+ [
+ 15
+ ]
+ ],
+ [
+ [
+ 4
+ ],
+ [
+ 12
+ ],
+ [
+ 8
+ ],
+ [
+ 0
+ ]
+ ],
+ [
+ [
+ 1
+ ],
+ [
+ 8
+ ],
+ [
+ 6
+ ],
+ [
+ 0
+ ]
+ ],
+ [
+ [
+ 14
+ ],
+ [
+ 11
+ ],
+ [
+ 8
+ ],
+ [
+ 15
+ ]
+ ],
+ [
+ [
+ 15
+ ],
+ [
+ 15
+ ],
+ [
+ 4
+ ],
+ [
+ 14
+ ]
+ ],
+ [
+ [
+ 8
+ ],
+ [
+ 11
+ ],
+ [
+ 13
+ ],
+ [
+ 2
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/test.json
new file mode 100644
index 000000000..423e62f2e
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_2x11x4x2_i16_roundTrue/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: true
+ },
+ 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"
+ ]
+ }
+ ]
+}