aboutsummaryrefslogtreecommitdiff
path: root/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:02 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:02 +0100
commitdb1aa636f391b107575a789430cb0410911fa8cc (patch)
tree50b687489153cc62ae65e662651ef8a1e031982b /operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32
parent71c1895595e51da557bd73366bf5f27a8f6b3ffb (diff)
downloadconformance_tests-db1aa636f391b107575a789430cb0410911fa8cc.tar.gz
Updating EQUAL tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I284a26c6a30a61662562c4081cdfe808773cc694
Diffstat (limited to 'operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32')
-rw-r--r--operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/desc.json20
-rw-r--r--operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/input-0.json23
-rw-r--r--operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/input-1.json6
-rw-r--r--operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/test.json56
4 files changed, 105 insertions, 0 deletions
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/desc.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/desc.json
new file mode 100644
index 000000000..e91fa79e6
--- /dev/null
+++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/desc.json
@@ -0,0 +1,20 @@
+{
+ "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": "Output data type not supported for this configuration of operator"
+} \ No newline at end of file
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/input-0.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/input-0.json
new file mode 100644
index 000000000..81f8fb20d
--- /dev/null
+++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/input-0.json
@@ -0,0 +1,23 @@
+{
+ "type": "int32",
+ "data": [
+ -2119215420,
+ -1326785034,
+ 1066510845,
+ 1767712561,
+ 444690404,
+ 426501851,
+ -25772395,
+ 321245217,
+ -1620698621,
+ -54399614,
+ 863966485,
+ 1700055378,
+ 1055623529,
+ 1358085416,
+ -727772512,
+ -784604373,
+ 1932186648,
+ 1394873393
+ ]
+} \ No newline at end of file
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/input-1.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/input-1.json
new file mode 100644
index 000000000..d55ccf1ac
--- /dev/null
+++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/input-1.json
@@ -0,0 +1,6 @@
+{
+ "type": "int32",
+ "data": [
+ -162172736
+ ]
+} \ No newline at end of file
diff --git a/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/test.json b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/test.json
new file mode 100644
index 000000000..c6e897fe9
--- /dev/null
+++ b/operators/comparison/equal/equal_ERRORIF_WrongOutputType_18_i32/test.json
@@ -0,0 +1,56 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "EQUAL",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 18
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 18
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}