aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse
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_36_i32_roundFalse
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_36_i32_roundFalse')
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/Conformance-result-0.json41
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/desc.json22
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/input-0.json41
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/input-1.json6
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/test.json59
5 files changed, 169 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/Conformance-result-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/Conformance-result-0.json
new file mode 100644
index 000000000..45b2c2a56
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/Conformance-result-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "int32",
+ "data": [
+ -969,
+ 1141,
+ -979,
+ 888,
+ 1183,
+ -208,
+ 970,
+ -933,
+ -1724,
+ -1654,
+ -217,
+ 1649,
+ -1526,
+ -182,
+ 835,
+ -1220,
+ 907,
+ -795,
+ 1264,
+ 324,
+ 192,
+ -1324,
+ -151,
+ 1460,
+ -1969,
+ 1058,
+ -30,
+ 898,
+ 668,
+ -279,
+ -784,
+ 521,
+ -1474,
+ 344,
+ -1661,
+ 613
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_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_36_i32_roundFalse/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/input-0.json
new file mode 100644
index 000000000..d2fa719fa
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/input-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "int32",
+ "data": [
+ -1015652990,
+ 1197226016,
+ -1025895884,
+ 931536269,
+ 1241273733,
+ -217490693,
+ 1017561928,
+ -978215044,
+ -1807092397,
+ -1733487618,
+ -227531392,
+ 1729164126,
+ -1599545251,
+ -189939389,
+ 876311027,
+ -1278339615,
+ 951835184,
+ -833409954,
+ 1325687812,
+ 340245457,
+ 201465201,
+ -1388250327,
+ -158029417,
+ 1531646687,
+ -2063628741,
+ 1110332926,
+ -31085291,
+ 942586218,
+ 701359625,
+ -291658174,
+ -821768116,
+ 546787307,
+ -1545224993,
+ 361198026,
+ -1740773041,
+ 643586253
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/input-1.json
new file mode 100644
index 000000000..458d6e6f5
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ 20
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/test.json
new file mode 100644
index 000000000..61787d745
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_36_i32_roundFalse/test.json
@@ -0,0 +1,59 @@
+{
+ 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: [
+ 36
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 36
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}