diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 15:54:36 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-17 09:18:19 +0000 |
commit | 7d3ec0e4ed28c02203816f8169a8d29465c4dcb9 (patch) | |
tree | 9a04e8b90c4398926a181c1d6a06ab7e47792659 /operators/ew_unary/exp/exp_52_f16 | |
parent | b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (diff) | |
download | conformance_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_52_f16')
-rw-r--r-- | operators/ew_unary/exp/exp_52_f16/Conformance-result-0.json | 57 | ||||
-rw-r--r-- | operators/ew_unary/exp/exp_52_f16/desc.json | 23 | ||||
-rw-r--r-- | operators/ew_unary/exp/exp_52_f16/input-0.json | 57 | ||||
-rw-r--r-- | operators/ew_unary/exp/exp_52_f16/test.json | 52 |
4 files changed, 189 insertions, 0 deletions
diff --git a/operators/ew_unary/exp/exp_52_f16/Conformance-result-0.json b/operators/ew_unary/exp/exp_52_f16/Conformance-result-0.json new file mode 100644 index 000000000..cc2a3099c --- /dev/null +++ b/operators/ew_unary/exp/exp_52_f16/Conformance-result-0.json @@ -0,0 +1,57 @@ +{ + "type": "float16", + "data": [ + 0.2509765625, + 2.080078125, + 2.662109375, + 6.48828125, + 0.498291015625, + 0.595703125, + 0.88525390625, + 0.288818359375, + 0.2275390625, + 0.9072265625, + 0.335205078125, + 1.97265625, + 0.77783203125, + 3.78515625, + 2.228515625, + 0.47216796875, + 3.77734375, + 3.3828125, + 0.6376953125, + 0.428955078125, + 2.07421875, + 0.236572265625, + 0.301025390625, + 0.139404296875, + 3.150390625, + 1.93359375, + 2.271484375, + 3.07421875, + 0.8486328125, + 1.31640625, + 0.23681640625, + 0.2139892578125, + 1.9619140625, + 0.890625, + 1.2978515625, + 2.884765625, + 1.71484375, + 1.2392578125, + 1.267578125, + 0.45654296875, + 0.153076171875, + 0.7763671875, + 0.3193359375, + 0.693359375, + 4.11328125, + 0.344970703125, + 0.1708984375, + 0.4169921875, + 0.43798828125, + 1.9111328125, + 1.255859375, + 3.11328125 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/exp/exp_52_f16/desc.json b/operators/ew_unary/exp/exp_52_f16/desc.json new file mode 100644 index 000000000..d418e4060 --- /dev/null +++ b/operators/ew_unary/exp/exp_52_f16/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_52_f16/input-0.json b/operators/ew_unary/exp/exp_52_f16/input-0.json new file mode 100644 index 000000000..3610f726c --- /dev/null +++ b/operators/ew_unary/exp/exp_52_f16/input-0.json @@ -0,0 +1,57 @@ +{ + "type": "float16", + "data": [ + -1.3828125, + 0.732421875, + 0.97900390625, + 1.8701171875, + -0.69677734375, + -0.51806640625, + -0.12176513671875, + -1.2421875, + -1.48046875, + -0.09716796875, + -1.0927734375, + 0.67919921875, + -0.25146484375, + 1.3310546875, + 0.80126953125, + -0.75048828125, + 1.3291015625, + 1.21875, + -0.4501953125, + -0.8466796875, + 0.72998046875, + -1.44140625, + -1.2001953125, + -1.970703125, + 1.1474609375, + 0.6591796875, + 0.82080078125, + 1.123046875, + -0.164306640625, + 0.27490234375, + -1.4404296875, + -1.5419921875, + 0.673828125, + -0.1156005859375, + 0.260986328125, + 1.0595703125, + 0.5390625, + 0.21435546875, + 0.23681640625, + -0.7841796875, + -1.876953125, + -0.253173828125, + -1.1416015625, + -0.365966796875, + 1.4140625, + -1.064453125, + -1.7666015625, + -0.87451171875, + -0.82568359375, + 0.6474609375, + 0.2281494140625, + 1.1357421875 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/exp/exp_52_f16/test.json b/operators/ew_unary/exp/exp_52_f16/test.json new file mode 100644 index 000000000..348f759bf --- /dev/null +++ b/operators/ew_unary/exp/exp_52_f16/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: [ + 52 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 52 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |