aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/bitwise_not/bitwise_not_42_i32
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_42_i32
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_42_i32')
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_42_i32/Conformance-result-0.json47
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_42_i32/desc.json20
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_42_i32/input-0.json47
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_42_i32/test.json47
4 files changed, 161 insertions, 0 deletions
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_42_i32/Conformance-result-0.json b/operators/ew_unary/bitwise_not/bitwise_not_42_i32/Conformance-result-0.json
new file mode 100644
index 000000000..71af82488
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_42_i32/Conformance-result-0.json
@@ -0,0 +1,47 @@
+{
+ "type": "int32",
+ "data": [
+ -800917818,
+ 104346547,
+ 729301194,
+ 1172915414,
+ -277024936,
+ -729345554,
+ -1891100283,
+ 269930453,
+ 1457333246,
+ -1428841973,
+ -557333432,
+ -860132064,
+ 1729898432,
+ 805879138,
+ -1150380854,
+ -1427044981,
+ 278242293,
+ -1308952949,
+ -1467555403,
+ 483276682,
+ -1709773335,
+ 909123871,
+ 1118590798,
+ -783812222,
+ -587387570,
+ 1547251301,
+ -1429093446,
+ 1288884456,
+ -1309531720,
+ 2115862940,
+ -1274929202,
+ -1232330818,
+ -1204155580,
+ -708029038,
+ 122118184,
+ -881178592,
+ 957255330,
+ -1205722008,
+ -239001878,
+ 176455400,
+ -24078666,
+ -295241189
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_42_i32/desc.json b/operators/ew_unary/bitwise_not/bitwise_not_42_i32/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_42_i32/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_42_i32/input-0.json b/operators/ew_unary/bitwise_not/bitwise_not_42_i32/input-0.json
new file mode 100644
index 000000000..d719d0f32
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_42_i32/input-0.json
@@ -0,0 +1,47 @@
+{
+ "type": "int32",
+ "data": [
+ 800917817,
+ -104346548,
+ -729301195,
+ -1172915415,
+ 277024935,
+ 729345553,
+ 1891100282,
+ -269930454,
+ -1457333247,
+ 1428841972,
+ 557333431,
+ 860132063,
+ -1729898433,
+ -805879139,
+ 1150380853,
+ 1427044980,
+ -278242294,
+ 1308952948,
+ 1467555402,
+ -483276683,
+ 1709773334,
+ -909123872,
+ -1118590799,
+ 783812221,
+ 587387569,
+ -1547251302,
+ 1429093445,
+ -1288884457,
+ 1309531719,
+ -2115862941,
+ 1274929201,
+ 1232330817,
+ 1204155579,
+ 708029037,
+ -122118185,
+ 881178591,
+ -957255331,
+ 1205722007,
+ 239001877,
+ -176455401,
+ 24078665,
+ 295241188
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_42_i32/test.json b/operators/ew_unary/bitwise_not/bitwise_not_42_i32/test.json
new file mode 100644
index 000000000..c0a97b607
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_42_i32/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: [
+ 42
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 42
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}