aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/exp/exp_47_bf16
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_47_bf16
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_47_bf16')
-rw-r--r--operators/ew_unary/exp/exp_47_bf16/Conformance-result-0.json52
-rw-r--r--operators/ew_unary/exp/exp_47_bf16/desc.json23
-rw-r--r--operators/ew_unary/exp/exp_47_bf16/input-0.json52
-rw-r--r--operators/ew_unary/exp/exp_47_bf16/test.json52
4 files changed, 179 insertions, 0 deletions
diff --git a/operators/ew_unary/exp/exp_47_bf16/Conformance-result-0.json b/operators/ew_unary/exp/exp_47_bf16/Conformance-result-0.json
new file mode 100644
index 000000000..07faabcce
--- /dev/null
+++ b/operators/ew_unary/exp/exp_47_bf16/Conformance-result-0.json
@@ -0,0 +1,52 @@
+{
+ "type": "float32",
+ "data": [
+ 1.921875,
+ 0.6875,
+ 3.484375,
+ 0.263671875,
+ 0.1484375,
+ 0.1953125,
+ 2.421875,
+ 0.85546875,
+ 0.2578125,
+ 1.0,
+ 0.248046875,
+ 2.1875,
+ 0.8046875,
+ 0.62109375,
+ 0.451171875,
+ 1.6796875,
+ 0.57421875,
+ 0.19140625,
+ 0.2177734375,
+ 6.3125,
+ 5.09375,
+ 2.203125,
+ 0.392578125,
+ 6.5,
+ 3.03125,
+ 2.375,
+ 0.81640625,
+ 0.40234375,
+ 0.19921875,
+ 4.96875,
+ 0.8359375,
+ 0.3046875,
+ 0.4609375,
+ 1.3671875,
+ 0.275390625,
+ 4.125,
+ 2.796875,
+ 2.390625,
+ 0.76171875,
+ 1.65625,
+ 1.3984375,
+ 1.8125,
+ 0.1904296875,
+ 0.7109375,
+ 0.16015625,
+ 0.97265625,
+ 0.50390625
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/exp/exp_47_bf16/desc.json b/operators/ew_unary/exp/exp_47_bf16/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/ew_unary/exp/exp_47_bf16/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_47_bf16/input-0.json b/operators/ew_unary/exp/exp_47_bf16/input-0.json
new file mode 100644
index 000000000..f990005a3
--- /dev/null
+++ b/operators/ew_unary/exp/exp_47_bf16/input-0.json
@@ -0,0 +1,52 @@
+{
+ "type": "float32",
+ "data": [
+ 0.65625,
+ -0.373046875,
+ 1.25,
+ -1.328125,
+ -1.90625,
+ -1.6328125,
+ 0.88671875,
+ -0.15234375,
+ -1.3515625,
+ 0.004150390625,
+ -1.390625,
+ 0.78515625,
+ -0.21484375,
+ -0.474609375,
+ -0.79296875,
+ 0.51953125,
+ -0.55078125,
+ -1.6484375,
+ -1.5234375,
+ 1.84375,
+ 1.6328125,
+ 0.796875,
+ -0.93359375,
+ 1.875,
+ 1.109375,
+ 0.8671875,
+ -0.2021484375,
+ -0.91015625,
+ -1.609375,
+ 1.609375,
+ -0.1767578125,
+ -1.1875,
+ -0.7734375,
+ 0.31640625,
+ -1.2890625,
+ 1.421875,
+ 1.03125,
+ 0.875,
+ -0.271484375,
+ 0.5078125,
+ 0.3359375,
+ 0.59765625,
+ -1.65625,
+ -0.3359375,
+ -1.828125,
+ -0.02392578125,
+ -0.6796875
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/exp/exp_47_bf16/test.json b/operators/ew_unary/exp/exp_47_bf16/test.json
new file mode 100644
index 000000000..80ef879b7
--- /dev/null
+++ b/operators/ew_unary/exp/exp_47_bf16/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: [
+ 47
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 47
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}