diff options
author | James Ward <james.ward@arm.com> | 2022-12-14 17:32:32 +0000 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2022-12-14 17:32:32 +0000 |
commit | 7125e9b2ef21580734f6ec654f6c47da6d870ebe (patch) | |
tree | 37b2efd772f64df271fe7cc7700b6b2f83ea41e5 /operators/activation/sigmoid/sigmoid_53_f16 | |
parent | 9438531ceffbf9f8c6c123b93ec81656f6685fef (diff) | |
download | conformance_tests-7125e9b2ef21580734f6ec654f6c47da6d870ebe.tar.gz |
Create MI tests for Activation: SIGMOID, TANH
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I9e8fb2ab4b4227ffb68a2a216265f5d9425b0178
Diffstat (limited to 'operators/activation/sigmoid/sigmoid_53_f16')
4 files changed, 186 insertions, 0 deletions
diff --git a/operators/activation/sigmoid/sigmoid_53_f16/Conformance-result-0.json b/operators/activation/sigmoid/sigmoid_53_f16/Conformance-result-0.json new file mode 100644 index 000000000..062f79e72 --- /dev/null +++ b/operators/activation/sigmoid/sigmoid_53_f16/Conformance-result-0.json @@ -0,0 +1,58 @@ +{ + "type": "float16", + "data": [ + 0.67529296875, + 0.72705078125, + 0.86669921875, + 0.33251953125, + 0.373291015625, + 0.469482421875, + 0.2239990234375, + 0.185302734375, + 0.475830078125, + 0.2509765625, + 0.66357421875, + 0.4375, + 0.791015625, + 0.6904296875, + 0.32080078125, + 0.79052734375, + 0.77197265625, + 0.389404296875, + 0.300048828125, + 0.6748046875, + 0.1912841796875, + 0.2314453125, + 0.122314453125, + 0.75927734375, + 0.6591796875, + 0.6943359375, + 0.75439453125, + 0.458984375, + 0.568359375, + 0.1915283203125, + 0.17626953125, + 0.66259765625, + 0.47119140625, + 0.56494140625, + 0.74267578125, + 0.6318359375, + 0.55322265625, + 0.55908203125, + 0.3134765625, + 0.1326904296875, + 0.43701171875, + 0.2420654296875, + 0.409423828125, + 0.80419921875, + 0.25634765625, + 0.14599609375, + 0.29443359375, + 0.304443359375, + 0.65625, + 0.556640625, + 0.7568359375, + 0.65869140625, + 0.407470703125 + ] +}
\ No newline at end of file diff --git a/operators/activation/sigmoid/sigmoid_53_f16/desc.json b/operators/activation/sigmoid/sigmoid_53_f16/desc.json new file mode 100644 index 000000000..d418e4060 --- /dev/null +++ b/operators/activation/sigmoid/sigmoid_53_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/activation/sigmoid/sigmoid_53_f16/input-0.json b/operators/activation/sigmoid/sigmoid_53_f16/input-0.json new file mode 100644 index 000000000..6292ac145 --- /dev/null +++ b/operators/activation/sigmoid/sigmoid_53_f16/input-0.json @@ -0,0 +1,58 @@ +{ + "type": "float16", + "data": [ + 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, + 0.6572265625, + -0.37451171875 + ] +}
\ No newline at end of file diff --git a/operators/activation/sigmoid/sigmoid_53_f16/test.json b/operators/activation/sigmoid/sigmoid_53_f16/test.json new file mode 100644 index 000000000..d7502b434 --- /dev/null +++ b/operators/activation/sigmoid/sigmoid_53_f16/test.json @@ -0,0 +1,47 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "SIGMOID", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 53 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 53 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |