aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/exp/exp_19_f32
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-01-16 15:54:36 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2023-01-17 09:18:19 +0000
commit7d3ec0e4ed28c02203816f8169a8d29465c4dcb9 (patch)
tree9a04e8b90c4398926a181c1d6a06ab7e47792659 /operators/ew_unary/exp/exp_19_f32
parentb08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (diff)
downloadconformance_tests-7d3ec0e4ed28c02203816f8169a8d29465c4dcb9.tar.gz
Create MI tests for EW Unary: LOG, RECIPROCAL, RSQRT, EXP
Also regen TRANSPOSE and GREATER ERROR_IF tests due to generator change to using correct filtering. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Id68e583a736b784c94d8cdad50a27a3dbdbf5215
Diffstat (limited to 'operators/ew_unary/exp/exp_19_f32')
-rw-r--r--operators/ew_unary/exp/exp_19_f32/Conformance-result-0.json24
-rw-r--r--operators/ew_unary/exp/exp_19_f32/desc.json23
-rw-r--r--operators/ew_unary/exp/exp_19_f32/input-0.json24
-rw-r--r--operators/ew_unary/exp/exp_19_f32/test.json52
4 files changed, 123 insertions, 0 deletions
diff --git a/operators/ew_unary/exp/exp_19_f32/Conformance-result-0.json b/operators/ew_unary/exp/exp_19_f32/Conformance-result-0.json
new file mode 100644
index 000000000..9f09bb82c
--- /dev/null
+++ b/operators/ew_unary/exp/exp_19_f32/Conformance-result-0.json
@@ -0,0 +1,24 @@
+{
+ "type": "float32",
+ "data": [
+ 0.819995641708374,
+ 0.5964213609695435,
+ 5.512730121612549,
+ 1.7779490947723389,
+ 3.6365902423858643,
+ 0.7974443435668945,
+ 0.3358652889728546,
+ 1.2440088987350464,
+ 0.17469199001789093,
+ 3.7081189155578613,
+ 1.693263292312622,
+ 2.8076589107513428,
+ 0.5588377118110657,
+ 6.571828365325928,
+ 4.818604946136475,
+ 3.045100688934326,
+ 0.29480379819869995,
+ 0.8753635287284851,
+ 0.16125230491161346
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/exp/exp_19_f32/desc.json b/operators/ew_unary/exp/exp_19_f32/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/ew_unary/exp/exp_19_f32/desc.json
@@ -0,0 +1,23 @@
+{
+ "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"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/exp/exp_19_f32/input-0.json b/operators/ew_unary/exp/exp_19_f32/input-0.json
new file mode 100644
index 000000000..12774fbb7
--- /dev/null
+++ b/operators/ew_unary/exp/exp_19_f32/input-0.json
@@ -0,0 +1,24 @@
+{
+ "type": "float32",
+ "data": [
+ -0.19845624268054962,
+ -0.5168079137802124,
+ 1.7070599794387817,
+ 0.5754604935646057,
+ 1.2910465002059937,
+ -0.22634319961071014,
+ -1.0910451412200928,
+ 0.21833914518356323,
+ -1.7447309494018555,
+ 1.3105247020721436,
+ 0.5266575813293457,
+ 1.032351016998291,
+ -0.5818961262702942,
+ 1.8827921152114868,
+ 1.5724844932556152,
+ 1.1135339736938477,
+ -1.2214452028274536,
+ -0.1331159919500351,
+ -1.8247849941253662
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/exp/exp_19_f32/test.json b/operators/ew_unary/exp/exp_19_f32/test.json
new file mode 100644
index 000000000..e343d96ce
--- /dev/null
+++ b/operators/ew_unary/exp/exp_19_f32/test.json
@@ -0,0 +1,52 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "EXP",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 19
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 19
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}