aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/bitwise_not/bitwise_not_7_i8
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:50 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:50 +0100
commitfe3f0127401c10bd7447ff8490cce5ffaabd42d8 (patch)
tree63b989a86afba6699d0da1f45bba59c4ac82664c /operators/ew_unary/bitwise_not/bitwise_not_7_i8
parent6832c05b5377f10c8a1d621a51dc91c4f3c3a712 (diff)
downloadconformance_tests-fe3f0127401c10bd7447ff8490cce5ffaabd42d8.tar.gz
Updating BITWISE_NOT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Id83d5a0857acb35c694bc28a974f2efa63defc50
Diffstat (limited to 'operators/ew_unary/bitwise_not/bitwise_not_7_i8')
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_7_i8/Conformance-result-0.json12
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_7_i8/desc.json20
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_7_i8/input-0.json12
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_7_i8/test.json47
4 files changed, 91 insertions, 0 deletions
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_7_i8/Conformance-result-0.json b/operators/ew_unary/bitwise_not/bitwise_not_7_i8/Conformance-result-0.json
new file mode 100644
index 000000000..73b0db7c4
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_7_i8/Conformance-result-0.json
@@ -0,0 +1,12 @@
+{
+ "type": "int32",
+ "data": [
+ -87,
+ 12,
+ -1,
+ 33,
+ 81,
+ -110,
+ -73
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_7_i8/desc.json b/operators/ew_unary/bitwise_not/bitwise_not_7_i8/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_7_i8/desc.json
@@ -0,0 +1,20 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0"
+ ],
+ "ifm_file": [
+ "input-0.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_unary/bitwise_not/bitwise_not_7_i8/input-0.json b/operators/ew_unary/bitwise_not/bitwise_not_7_i8/input-0.json
new file mode 100644
index 000000000..26e707a12
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_7_i8/input-0.json
@@ -0,0 +1,12 @@
+{
+ "type": "int32",
+ "data": [
+ 86,
+ -13,
+ 0,
+ -34,
+ -82,
+ 109,
+ 72
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_7_i8/test.json b/operators/ew_unary/bitwise_not/bitwise_not_7_i8/test.json
new file mode 100644
index 000000000..8c7034645
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_7_i8/test.json
@@ -0,0 +1,47 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "BITWISE_NOT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 7
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 7
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}