aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/bitwise_or/bitwise_or_8_i8
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:34 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:34 +0100
commitd53378c6e205afdc2a538ac438ecc717ccc2718c (patch)
tree95dfa1097fcad523250a264a4548f629a3082f57 /operators/ew_binary/bitwise_or/bitwise_or_8_i8
parent26c9e26c22c744dd05a2fe09763ac09bc09711db (diff)
downloadconformance_tests-d53378c6e205afdc2a538ac438ecc717ccc2718c.tar.gz
Updating BITWISE_OR tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I86e01aee3eaff011fc596f7e3f062ea621b575e4
Diffstat (limited to 'operators/ew_binary/bitwise_or/bitwise_or_8_i8')
-rw-r--r--operators/ew_binary/bitwise_or/bitwise_or_8_i8/Conformance-result-0.json13
-rw-r--r--operators/ew_binary/bitwise_or/bitwise_or_8_i8/desc.json22
-rw-r--r--operators/ew_binary/bitwise_or/bitwise_or_8_i8/input-0.json13
-rw-r--r--operators/ew_binary/bitwise_or/bitwise_or_8_i8/input-1.json6
-rw-r--r--operators/ew_binary/bitwise_or/bitwise_or_8_i8/test.json56
5 files changed, 110 insertions, 0 deletions
diff --git a/operators/ew_binary/bitwise_or/bitwise_or_8_i8/Conformance-result-0.json b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/Conformance-result-0.json
new file mode 100644
index 000000000..da2bcc38a
--- /dev/null
+++ b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/Conformance-result-0.json
@@ -0,0 +1,13 @@
+{
+ "type": "int32",
+ "data": [
+ 79,
+ 99,
+ -46,
+ 91,
+ 83,
+ -58,
+ 99,
+ -22
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_or/bitwise_or_8_i8/desc.json b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/desc.json
new file mode 100644
index 000000000..be172ba86
--- /dev/null
+++ b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/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_or/bitwise_or_8_i8/input-0.json b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/input-0.json
new file mode 100644
index 000000000..17983e581
--- /dev/null
+++ b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/input-0.json
@@ -0,0 +1,13 @@
+{
+ "type": "int32",
+ "data": [
+ 13,
+ 99,
+ -112,
+ 91,
+ 83,
+ -58,
+ 33,
+ -86
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_or/bitwise_or_8_i8/input-1.json b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/input-1.json
new file mode 100644
index 000000000..00d2d014c
--- /dev/null
+++ b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ 66
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_or/bitwise_or_8_i8/test.json b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/test.json
new file mode 100644
index 000000000..8d3522f2d
--- /dev/null
+++ b/operators/ew_binary/bitwise_or/bitwise_or_8_i8/test.json
@@ -0,0 +1,56 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "BITWISE_OR",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 8
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 8
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}