aboutsummaryrefslogtreecommitdiff
path: root/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-12-14 17:32:32 +0000
committerJames Ward <james.ward@arm.com>2022-12-14 17:32:32 +0000
commit7125e9b2ef21580734f6ec654f6c47da6d870ebe (patch)
tree37b2efd772f64df271fe7cc7700b6b2f83ea41e5 /operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16
parent9438531ceffbf9f8c6c123b93ec81656f6685fef (diff)
downloadconformance_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_ERRORIF_WrongOutputList_11_f16')
-rw-r--r--operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/desc.json21
-rw-r--r--operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/input-0.json16
-rw-r--r--operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/test.json47
3 files changed, 84 insertions, 0 deletions
diff --git a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/desc.json b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/desc.json
new file mode 100644
index 000000000..671c6cfc2
--- /dev/null
+++ b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/desc.json
@@ -0,0 +1,21 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Op output list does not match expected output",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/input-0.json b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/input-0.json
new file mode 100644
index 000000000..59b0b9ad0
--- /dev/null
+++ b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/input-0.json
@@ -0,0 +1,16 @@
+{
+ "type": "float16",
+ "data": [
+ 0.388671875,
+ 0.050018310546875,
+ 0.5205078125,
+ 0.9072265625,
+ 0.369384765625,
+ 0.818359375,
+ 0.416748046875,
+ 0.568359375,
+ 0.50244140625,
+ 0.8740234375,
+ 0.56787109375
+ ]
+} \ No newline at end of file
diff --git a/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/test.json b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_f16/test.json
new file mode 100644
index 000000000..80afbe2e3
--- /dev/null
+++ b/operators/activation/sigmoid/sigmoid_ERRORIF_WrongOutputList_11_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: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}