aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32
diff options
context:
space:
mode:
Diffstat (limited to 'operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32')
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/desc.json26
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-0.json82
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-1.json82
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-2.json38
-rw-r--r--operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json70
5 files changed, 298 insertions, 0 deletions
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/desc.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/desc.json
new file mode 100644
index 000000000..1a02d13d5
--- /dev/null
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/desc.json
@@ -0,0 +1,26 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ "ifm_file": [
+ "input-0.npy",
+ "input-1.npy",
+ "input-2.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Op input list does not match expected input",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-0.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-0.json
new file mode 100644
index 000000000..500d84a34
--- /dev/null
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-0.json
@@ -0,0 +1,82 @@
+{
+ "type": "bool",
+ "data": [
+ [
+ true,
+ false,
+ true,
+ false,
+ false
+ ],
+ [
+ true,
+ true,
+ false,
+ false,
+ false
+ ],
+ [
+ true,
+ true,
+ false,
+ false,
+ true
+ ],
+ [
+ false,
+ true,
+ false,
+ true,
+ false
+ ],
+ [
+ false,
+ true,
+ false,
+ true,
+ false
+ ],
+ [
+ false,
+ true,
+ false,
+ true,
+ false
+ ],
+ [
+ true,
+ true,
+ false,
+ false,
+ true
+ ],
+ [
+ false,
+ false,
+ true,
+ true,
+ true
+ ],
+ [
+ false,
+ true,
+ true,
+ true,
+ true
+ ],
+ [
+ false,
+ true,
+ true,
+ true,
+ false
+ ],
+ [
+ false,
+ true,
+ true,
+ true,
+ true
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-1.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-1.json
new file mode 100644
index 000000000..9464911ca
--- /dev/null
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-1.json
@@ -0,0 +1,82 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 8430491,
+ 1937254603,
+ -1377424540,
+ -393474818,
+ -938926996
+ ],
+ [
+ -232628520,
+ -1392434526,
+ -1393272400,
+ 560389022,
+ 744075958
+ ],
+ [
+ -57220120,
+ 1796188160,
+ -121364805,
+ 139000598,
+ -1194425724
+ ],
+ [
+ -1118179612,
+ 85896794,
+ -158661924,
+ -905645191,
+ -110374048
+ ],
+ [
+ -1026829031,
+ -1128167650,
+ -645676578,
+ 246415144,
+ 522023038
+ ],
+ [
+ 499733231,
+ 248823189,
+ -1054144433,
+ 1445640,
+ -199043849
+ ],
+ [
+ 1610115679,
+ 648862113,
+ -248050011,
+ 1751755946,
+ 862418187
+ ],
+ [
+ -1763061119,
+ -2049839996,
+ 1707508069,
+ 51257462,
+ -1573755480
+ ],
+ [
+ -1578683236,
+ -28111724,
+ -461361633,
+ 1633834910,
+ 144538691
+ ],
+ [
+ 1804318427,
+ -1320339530,
+ 1248578804,
+ -1848036064,
+ -1745462593
+ ],
+ [
+ -1484332505,
+ -796334829,
+ -500416620,
+ -1318192488,
+ -1902566723
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-2.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-2.json
new file mode 100644
index 000000000..2b15b9537
--- /dev/null
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/input-2.json
@@ -0,0 +1,38 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 89576851
+ ],
+ [
+ -1764906063
+ ],
+ [
+ -468885213
+ ],
+ [
+ -820568928
+ ],
+ [
+ 1797731241
+ ],
+ [
+ -1656750644
+ ],
+ [
+ -1121034661
+ ],
+ [
+ 1904449707
+ ],
+ [
+ 1493665680
+ ],
+ [
+ 1440594355
+ ],
+ [
+ -610359803
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json
new file mode 100644
index 000000000..b2f9dce66
--- /dev/null
+++ b/operators/ew_ternary/select/select_ERRORIF_WrongInputList_11x5_i32/test.json
@@ -0,0 +1,70 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "SELECT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 5
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 5
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 11,
+ 1
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 5
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}