aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/abs/abs_20_i32
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:49 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:49 +0100
commit6832c05b5377f10c8a1d621a51dc91c4f3c3a712 (patch)
treeff281b90b68b64ace02764a25bd8945f18af2e7c /operators/ew_unary/abs/abs_20_i32
parentc4092d6680fe919b2631f273cdfb3342fcae4bcc (diff)
downloadconformance_tests-6832c05b5377f10c8a1d621a51dc91c4f3c3a712.tar.gz
Updating ABS tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I8208f6967a0e05c4116dfac217061597c40c8eb8
Diffstat (limited to 'operators/ew_unary/abs/abs_20_i32')
-rw-r--r--operators/ew_unary/abs/abs_20_i32/Conformance-result-0.json25
-rw-r--r--operators/ew_unary/abs/abs_20_i32/desc.json20
-rw-r--r--operators/ew_unary/abs/abs_20_i32/input-0.json25
-rw-r--r--operators/ew_unary/abs/abs_20_i32/test.json47
4 files changed, 117 insertions, 0 deletions
diff --git a/operators/ew_unary/abs/abs_20_i32/Conformance-result-0.json b/operators/ew_unary/abs/abs_20_i32/Conformance-result-0.json
new file mode 100644
index 000000000..e7daa0ab2
--- /dev/null
+++ b/operators/ew_unary/abs/abs_20_i32/Conformance-result-0.json
@@ -0,0 +1,25 @@
+{
+ "type": "int32",
+ "data": [
+ 1778349939,
+ 847689230,
+ 1282178581,
+ 1742995019,
+ 113726348,
+ 2042782445,
+ 1012548721,
+ 1121586479,
+ 934057792,
+ 1228636835,
+ 56807699,
+ 1597239786,
+ 1459207534,
+ 213090775,
+ 1511465,
+ 554918261,
+ 1363438929,
+ 1832941670,
+ 1209323014,
+ 617895985
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/abs/abs_20_i32/desc.json b/operators/ew_unary/abs/abs_20_i32/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/ew_unary/abs/abs_20_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/abs/abs_20_i32/input-0.json b/operators/ew_unary/abs/abs_20_i32/input-0.json
new file mode 100644
index 000000000..46bb59c42
--- /dev/null
+++ b/operators/ew_unary/abs/abs_20_i32/input-0.json
@@ -0,0 +1,25 @@
+{
+ "type": "int32",
+ "data": [
+ -1778349939,
+ 847689230,
+ -1282178581,
+ -1742995019,
+ 113726348,
+ 2042782445,
+ 1012548721,
+ 1121586479,
+ 934057792,
+ 1228636835,
+ 56807699,
+ -1597239786,
+ 1459207534,
+ -213090775,
+ 1511465,
+ -554918261,
+ -1363438929,
+ 1832941670,
+ 1209323014,
+ 617895985
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/abs/abs_20_i32/test.json b/operators/ew_unary/abs/abs_20_i32/test.json
new file mode 100644
index 000000000..cc65cf418
--- /dev/null
+++ b/operators/ew_unary/abs/abs_20_i32/test.json
@@ -0,0 +1,47 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "ABS",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 20
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 20
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}