aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:35 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:35 +0100
commit2dc099cf781cc8e0aeae5e0e34a707c66f1c8c98 (patch)
treec35cd33501bcda69665850d66dd4cc9d6e77282d /operators/ew_binary/bitwise_xor/bitwise_xor_1_i16
parentd53378c6e205afdc2a538ac438ecc717ccc2718c (diff)
downloadconformance_tests-2dc099cf781cc8e0aeae5e0e34a707c66f1c8c98.tar.gz
Updating BITWISE_XOR tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Idcf196641a1ed84b4acc1d8d1bccf70840c4b1d1
Diffstat (limited to 'operators/ew_binary/bitwise_xor/bitwise_xor_1_i16')
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/Conformance-result-0.json48
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/desc.json22
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/input-0.json6
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/input-1.json48
-rw-r--r--operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json56
5 files changed, 180 insertions, 0 deletions
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/Conformance-result-0.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/Conformance-result-0.json
new file mode 100644
index 000000000..fe76ea6bf
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/Conformance-result-0.json
@@ -0,0 +1,48 @@
+{
+ "type": "int32",
+ "data": [
+ 19361,
+ -23875,
+ 10458,
+ -16799,
+ -2226,
+ -25210,
+ -26550,
+ 27409,
+ 2026,
+ 11705,
+ 9645,
+ 20980,
+ -11991,
+ 32189,
+ -7025,
+ -3042,
+ -18712,
+ -7062,
+ 1822,
+ -21140,
+ 13295,
+ 2475,
+ -17133,
+ 1044,
+ 18761,
+ 8950,
+ -28301,
+ 27203,
+ 11329,
+ 31616,
+ -2689,
+ 8965,
+ 3653,
+ 24788,
+ -13759,
+ -3654,
+ -21899,
+ 13611,
+ 29664,
+ -28696,
+ -1030,
+ -5754,
+ 16929
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/desc.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/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/bitwise_xor/bitwise_xor_1_i16/input-0.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/input-0.json
new file mode 100644
index 000000000..4657b8cc6
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/input-0.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ -9534
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/input-1.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/input-1.json
new file mode 100644
index 000000000..969d34e10
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/input-1.json
@@ -0,0 +1,48 @@
+{
+ "type": "int32",
+ "data": [
+ -28317,
+ 30847,
+ -3560,
+ 25763,
+ 11660,
+ 18244,
+ 17032,
+ -20013,
+ -8920,
+ -2181,
+ -145,
+ -29898,
+ 3051,
+ -22657,
+ 15949,
+ 11996,
+ 27690,
+ 16040,
+ -8740,
+ 30638,
+ -5843,
+ -11415,
+ 26577,
+ -8490,
+ -27765,
+ -1996,
+ 19377,
+ -20351,
+ -2429,
+ -24254,
+ 12221,
+ -1593,
+ -11129,
+ -17898,
+ 4227,
+ 11128,
+ 28855,
+ -4119,
+ -22238,
+ 21802,
+ 8504,
+ 13124,
+ -26397
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json
new file mode 100644
index 000000000..d1959d8cf
--- /dev/null
+++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json
@@ -0,0 +1,56 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "BITWISE_XOR",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 43
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 43
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}