aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_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_1_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_1_i16_roundTrue')
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/Conformance-result-0.json52
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/desc.json22
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/input-0.json6
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/input-1.json52
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/test.json59
5 files changed, 191 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/Conformance-result-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/Conformance-result-0.json
new file mode 100644
index 000000000..34dc3fc10
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/Conformance-result-0.json
@@ -0,0 +1,52 @@
+{
+ "type": "int32",
+ "data": [
+ -50,
+ -199,
+ -3,
+ -2,
+ 0,
+ -25,
+ -398,
+ 0,
+ -2,
+ -1,
+ -796,
+ -100,
+ 0,
+ 0,
+ -25,
+ 0,
+ 0,
+ -25,
+ 0,
+ -100,
+ -199,
+ -2,
+ -2,
+ -398,
+ 0,
+ -199,
+ 0,
+ -1593,
+ 0,
+ 0,
+ 0,
+ -2,
+ -12,
+ -1,
+ -100,
+ 0,
+ -6,
+ -12,
+ -6,
+ -3,
+ -1593,
+ -398,
+ -199,
+ -796,
+ -12,
+ -2,
+ -2
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_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_1_i16_roundTrue/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/input-0.json
new file mode 100644
index 000000000..8b9ee77b0
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/input-0.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ -1593
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/input-1.json
new file mode 100644
index 000000000..0d4586cae
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/input-1.json
@@ -0,0 +1,52 @@
+{
+ "type": "int32",
+ "data": [
+ 5,
+ 3,
+ 9,
+ 10,
+ 15,
+ 6,
+ 2,
+ 13,
+ 10,
+ 11,
+ 1,
+ 4,
+ 12,
+ 13,
+ 6,
+ 12,
+ 13,
+ 6,
+ 14,
+ 4,
+ 3,
+ 10,
+ 10,
+ 2,
+ 13,
+ 3,
+ 12,
+ 0,
+ 12,
+ 12,
+ 12,
+ 10,
+ 7,
+ 11,
+ 4,
+ 12,
+ 8,
+ 7,
+ 8,
+ 9,
+ 0,
+ 2,
+ 3,
+ 1,
+ 7,
+ 10,
+ 10
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/test.json
new file mode 100644
index 000000000..1a13a30af
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundTrue/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: true
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 47
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 47
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}