aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/bitwise_not/bitwise_not_49_i16
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_49_i16
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_49_i16')
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_49_i16/Conformance-result-0.json54
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_49_i16/desc.json20
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_49_i16/input-0.json54
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_49_i16/test.json47
4 files changed, 175 insertions, 0 deletions
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_49_i16/Conformance-result-0.json b/operators/ew_unary/bitwise_not/bitwise_not_49_i16/Conformance-result-0.json
new file mode 100644
index 000000000..0e9fafd36
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_49_i16/Conformance-result-0.json
@@ -0,0 +1,54 @@
+{
+ "type": "int32",
+ "data": [
+ -9429,
+ 6395,
+ -21153,
+ -2978,
+ 3708,
+ 3246,
+ 17875,
+ 26729,
+ -3578,
+ -25421,
+ 28585,
+ -23481,
+ -21472,
+ 14630,
+ -8629,
+ 21939,
+ -16915,
+ -13142,
+ 9533,
+ 28316,
+ -30848,
+ 3559,
+ -25764,
+ -11661,
+ -18245,
+ -17033,
+ 20012,
+ 8919,
+ 2180,
+ 144,
+ 29897,
+ -3052,
+ 22656,
+ -15950,
+ -11997,
+ -27691,
+ -16041,
+ 8739,
+ -30639,
+ 5842,
+ 11414,
+ -26578,
+ 8489,
+ 27764,
+ 1995,
+ -19378,
+ 20350,
+ 2428,
+ 24253
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_49_i16/desc.json b/operators/ew_unary/bitwise_not/bitwise_not_49_i16/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_49_i16/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_49_i16/input-0.json b/operators/ew_unary/bitwise_not/bitwise_not_49_i16/input-0.json
new file mode 100644
index 000000000..9b1cc7f44
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_49_i16/input-0.json
@@ -0,0 +1,54 @@
+{
+ "type": "int32",
+ "data": [
+ 9428,
+ -6396,
+ 21152,
+ 2977,
+ -3709,
+ -3247,
+ -17876,
+ -26730,
+ 3577,
+ 25420,
+ -28586,
+ 23480,
+ 21471,
+ -14631,
+ 8628,
+ -21940,
+ 16914,
+ 13141,
+ -9534,
+ -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
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_49_i16/test.json b/operators/ew_unary/bitwise_not/bitwise_not_49_i16/test.json
new file mode 100644
index 000000000..6c5ac1098
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_49_i16/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: [
+ 49
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 49
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}