aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8
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_WrongInputType_11x10x3_i8
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_WrongInputType_11x10x3_i8')
-rw-r--r--operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/desc.json23
-rw-r--r--operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/input-0.json577
-rw-r--r--operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/input-1.json357
-rw-r--r--operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/test.json62
4 files changed, 1019 insertions, 0 deletions
diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/desc.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/desc.json
new file mode 100644
index 000000000..e4f45242b
--- /dev/null
+++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/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": "Input data type not supported for this operator",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/input-0.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/input-0.json
new file mode 100644
index 000000000..ff1bdadbf
--- /dev/null
+++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/input-0.json
@@ -0,0 +1,577 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 95,
+ 67,
+ -115
+ ],
+ [
+ -57,
+ -121,
+ 90
+ ],
+ [
+ 4,
+ 31,
+ -74
+ ],
+ [
+ -61,
+ -61,
+ -104
+ ],
+ [
+ -26,
+ 0,
+ 59
+ ],
+ [
+ 67,
+ -34,
+ -45
+ ],
+ [
+ -126,
+ 118,
+ -82
+ ],
+ [
+ 9,
+ 22,
+ 89
+ ],
+ [
+ -97,
+ -97,
+ 126
+ ],
+ [
+ 11,
+ -82,
+ 122
+ ]
+ ],
+ [
+ [
+ 52,
+ -17,
+ -76
+ ],
+ [
+ 71,
+ 69,
+ 52
+ ],
+ [
+ 65,
+ -41,
+ 83
+ ],
+ [
+ 84,
+ -105,
+ -15
+ ],
+ [
+ 87,
+ -30,
+ -41
+ ],
+ [
+ 41,
+ -104,
+ -74
+ ],
+ [
+ -79,
+ 104,
+ -67
+ ],
+ [
+ -111,
+ 6,
+ 101
+ ],
+ [
+ -112,
+ 10,
+ 122
+ ],
+ [
+ 43,
+ 20,
+ 117
+ ]
+ ],
+ [
+ [
+ -112,
+ 117,
+ -82
+ ],
+ [
+ 90,
+ 64,
+ 67
+ ],
+ [
+ -26,
+ 17,
+ 9
+ ],
+ [
+ -71,
+ 120,
+ -16
+ ],
+ [
+ 61,
+ 20,
+ -111
+ ],
+ [
+ -66,
+ 123,
+ 26
+ ],
+ [
+ -39,
+ 16,
+ 8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
+ ],
+ [
+ 107,
+ -48,
+ 53
+ ],
+ [
+ 98,
+ -104,
+ 73
+ ],
+ [
+ 43,
+ 123,
+ 102
+ ],
+ [
+ -53,
+ 43,
+ -77
+ ],
+ [
+ 23,
+ 121,
+ -2
+ ],
+ [
+ 116,
+ 23,
+ 104
+ ],
+ [
+ 95,
+ -121,
+ -48
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/input-1.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/input-1.json
new file mode 100644
index 000000000..ffb09783a
--- /dev/null
+++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/input-1.json
@@ -0,0 +1,357 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ -108
+ ],
+ [
+ 69
+ ],
+ [
+ 57
+ ],
+ [
+ 36
+ ],
+ [
+ -102
+ ],
+ [
+ -95
+ ],
+ [
+ 87
+ ],
+ [
+ -67
+ ],
+ [
+ 20
+ ],
+ [
+ 98
+ ]
+ ],
+ [
+ [
+ -47
+ ],
+ [
+ -45
+ ],
+ [
+ -80
+ ],
+ [
+ -24
+ ],
+ [
+ 26
+ ],
+ [
+ -43
+ ],
+ [
+ -67
+ ],
+ [
+ 14
+ ],
+ [
+ -115
+ ],
+ [
+ -112
+ ]
+ ],
+ [
+ [
+ 37
+ ],
+ [
+ -15
+ ],
+ [
+ 121
+ ],
+ [
+ -1
+ ],
+ [
+ -44
+ ],
+ [
+ 80
+ ],
+ [
+ -103
+ ],
+ [
+ -74
+ ],
+ [
+ 68
+ ],
+ [
+ -29
+ ]
+ ],
+ [
+ [
+ -12
+ ],
+ [
+ 6
+ ],
+ [
+ 23
+ ],
+ [
+ 79
+ ],
+ [
+ 17
+ ],
+ [
+ 51
+ ],
+ [
+ 73
+ ],
+ [
+ -117
+ ],
+ [
+ 4
+ ],
+ [
+ -39
+ ]
+ ],
+ [
+ [
+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+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/test.json b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/test.json
new file mode 100644
index 000000000..c2857afac
--- /dev/null
+++ b/operators/ew_binary/pow/pow_ERRORIF_WrongInputType_11x10x3_i8/test.json
@@ -0,0 +1,62 @@
+{
+ 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: [
+ 11,
+ 10,
+ 3
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 10,
+ 1
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 10,
+ 3
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}