aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_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_1_i16_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_1_i16_roundFalse')
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/Conformance-result-0.json52
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/desc.json22
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/input-0.json6
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/input-1.json52
-rw-r--r--operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/test.json59
5 files changed, 191 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/Conformance-result-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/Conformance-result-0.json
new file mode 100644
index 000000000..5f1261d48
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/Conformance-result-0.json
@@ -0,0 +1,52 @@
+{
+ "type": "int32",
+ "data": [
+ -1,
+ -4,
+ -948,
+ -1,
+ -4,
+ -2,
+ -4,
+ -8,
+ -948,
+ -8,
+ -1,
+ -119,
+ -4,
+ -1895,
+ -60,
+ -30,
+ -1,
+ -237,
+ -119,
+ -30,
+ -1,
+ -1,
+ -1895,
+ -237,
+ -1,
+ -1895,
+ -1,
+ -119,
+ -1,
+ -119,
+ -30,
+ -2,
+ -474,
+ -8,
+ -8,
+ -1,
+ -1,
+ -2,
+ -30,
+ -30,
+ -30,
+ -1,
+ -60,
+ -474,
+ -60,
+ -1895,
+ -948
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_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_1_i16_roundFalse/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/input-0.json
new file mode 100644
index 000000000..c349815a0
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/input-0.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ -1895
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/input-1.json
new file mode 100644
index 000000000..235bd7ba7
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/input-1.json
@@ -0,0 +1,52 @@
+{
+ "type": "int32",
+ "data": [
+ 13,
+ 9,
+ 1,
+ 12,
+ 9,
+ 10,
+ 9,
+ 8,
+ 1,
+ 8,
+ 12,
+ 4,
+ 9,
+ 0,
+ 5,
+ 6,
+ 15,
+ 3,
+ 4,
+ 6,
+ 15,
+ 13,
+ 0,
+ 3,
+ 13,
+ 0,
+ 13,
+ 4,
+ 14,
+ 4,
+ 6,
+ 10,
+ 2,
+ 8,
+ 8,
+ 12,
+ 15,
+ 10,
+ 6,
+ 6,
+ 6,
+ 13,
+ 5,
+ 2,
+ 5,
+ 0,
+ 1
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_roundFalse/test.json
new file mode 100644
index 000000000..14cb21195
--- /dev/null
+++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_1_i16_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: [
+ 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"
+ ]
+ }
+ ]
+}