diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-12-05 17:00:23 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-01-11 17:39:50 +0000 |
commit | c9b776bfc8433d9d4ef1cd9a5502d1b35827ff27 (patch) | |
tree | 8626f5d7ac0e0755c71dd2c7deb7f0b690be10b1 /operators/ew_binary/pow/pow_1_f16 | |
parent | 59dba4bee812c3fddd8d5ed20464f8417a6997c4 (diff) | |
download | conformance_tests-c9b776bfc8433d9d4ef1cd9a5502d1b35827ff27.tar.gz |
Create MI tests for EW Binary: POW
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ia6310d487daab336d27c48923be95a9a677be678
Diffstat (limited to 'operators/ew_binary/pow/pow_1_f16')
-rw-r--r-- | operators/ew_binary/pow/pow_1_f16/Conformance-result-0.json | 52 | ||||
-rw-r--r-- | operators/ew_binary/pow/pow_1_f16/desc.json | 25 | ||||
-rw-r--r-- | operators/ew_binary/pow/pow_1_f16/input-0.json | 6 | ||||
-rw-r--r-- | operators/ew_binary/pow/pow_1_f16/input-1.json | 52 | ||||
-rw-r--r-- | operators/ew_binary/pow/pow_1_f16/test.json | 56 |
5 files changed, 191 insertions, 0 deletions
diff --git a/operators/ew_binary/pow/pow_1_f16/Conformance-result-0.json b/operators/ew_binary/pow/pow_1_f16/Conformance-result-0.json new file mode 100644 index 000000000..2943b86f9 --- /dev/null +++ b/operators/ew_binary/pow/pow_1_f16/Conformance-result-0.json @@ -0,0 +1,52 @@ +{ + "type": "float16", + "data": [ + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN, + NaN + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/pow/pow_1_f16/desc.json b/operators/ew_binary/pow/pow_1_f16/desc.json new file mode 100644 index 000000000..5ee7961df --- /dev/null +++ b/operators/ew_binary/pow/pow_1_f16/desc.json @@ -0,0 +1,25 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.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_binary/pow/pow_1_f16/input-0.json b/operators/ew_binary/pow/pow_1_f16/input-0.json new file mode 100644 index 000000000..76d96eb17 --- /dev/null +++ b/operators/ew_binary/pow/pow_1_f16/input-0.json @@ -0,0 +1,6 @@ +{ + "type": "float16", + "data": [ + -1.0927734375 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/pow/pow_1_f16/input-1.json b/operators/ew_binary/pow/pow_1_f16/input-1.json new file mode 100644 index 000000000..92cc3d122 --- /dev/null +++ b/operators/ew_binary/pow/pow_1_f16/input-1.json @@ -0,0 +1,52 @@ +{ + "type": "float16", + "data": [ + 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, + 0.6572265625, + -0.37451171875, + 1.255859375, + -1.33203125, + -1.9091796875, + -1.6396484375 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/pow/pow_1_f16/test.json b/operators/ew_binary/pow/pow_1_f16/test.json new file mode 100644 index 000000000..344d38743 --- /dev/null +++ b/operators/ew_binary/pow/pow_1_f16/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "POW", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "FP16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "FP16" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |