aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-12-05 17:00:23 +0000
committerEric Kunze <eric.kunze@arm.com>2023-01-11 17:39:50 +0000
commitc9b776bfc8433d9d4ef1cd9a5502d1b35827ff27 (patch)
tree8626f5d7ac0e0755c71dd2c7deb7f0b690be10b1 /operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16
parent59dba4bee812c3fddd8d5ed20464f8417a6997c4 (diff)
downloadconformance_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_ERRORIF_WrongOutputList_11_f16')
-rw-r--r--operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/desc.json23
-rw-r--r--operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/input-0.json16
-rw-r--r--operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/input-1.json6
-rw-r--r--operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/test.json56
4 files changed, 101 insertions, 0 deletions
diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/desc.json b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/desc.json
new file mode 100644
index 000000000..200d6a41d
--- /dev/null
+++ b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/desc.json
@@ -0,0 +1,23 @@
+{
+ "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": 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/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/input-0.json b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/input-0.json
new file mode 100644
index 000000000..55541ff4f
--- /dev/null
+++ b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/input-0.json
@@ -0,0 +1,16 @@
+{
+ "type": "float16",
+ "data": [
+ 0.2322998046875,
+ 0.8408203125,
+ 0.048675537109375,
+ 0.0093536376953125,
+ 0.301025390625,
+ 0.57470703125,
+ 0.377197265625,
+ 0.66357421875,
+ 0.0450439453125,
+ 0.62060546875,
+ 0.9443359375
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/input-1.json b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/input-1.json
new file mode 100644
index 000000000..286b5001f
--- /dev/null
+++ b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "float16",
+ "data": [
+ 0.444091796875
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/test.json b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_f16/test.json
new file mode 100644
index 000000000..7092736bb
--- /dev/null
+++ b/operators/ew_binary/pow/pow_ERRORIF_WrongOutputList_11_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: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}