aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32
diff options
context:
space:
mode:
Diffstat (limited to 'operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32')
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/desc.json18
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/input-0.json35
-rw-r--r--operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/test.json48
3 files changed, 101 insertions, 0 deletions
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/desc.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/desc.json
new file mode 100644
index 000000000..2d7a7c8f1
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/desc.json
@@ -0,0 +1,18 @@
+{
+ "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 input list does not match expected input"
+} \ No newline at end of file
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/input-0.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/input-0.json
new file mode 100644
index 000000000..250b5f971
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/input-0.json
@@ -0,0 +1,35 @@
+{
+ "type": "int32",
+ "data": [
+ -412420013,
+ 10693546,
+ 1386685139,
+ 565800305,
+ 1163423680,
+ -1830057642,
+ 962730816,
+ -319170632,
+ 54280764,
+ -1972888127,
+ 2042050738,
+ 132918625,
+ -515281044,
+ -1698018151,
+ -1173602652,
+ -1188881446,
+ -1135445824,
+ -219932345,
+ 1507891481,
+ -1727065660,
+ 1557105852,
+ 1608495798,
+ 1164649559,
+ 313524829,
+ -1635781829,
+ -277473778,
+ 1632383306,
+ 1426062488,
+ 1160948903,
+ -1807935350
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/test.json b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/test.json
new file mode 100644
index 000000000..a5cc7c26f
--- /dev/null
+++ b/operators/ew_unary/bitwise_not/bitwise_not_ERRORIF_WrongInputList_30_i32/test.json
@@ -0,0 +1,48 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "BITWISE_NOT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 30
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 30
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}