aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8
diff options
context:
space:
mode:
Diffstat (limited to 'operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8')
-rw-r--r--operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/desc.json24
-rw-r--r--operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/input-0.json245
-rw-r--r--operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/input-1.json135
-rw-r--r--operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/test.json62
4 files changed, 466 insertions, 0 deletions
diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/desc.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/desc.json
new file mode 100644
index 000000000..e7d7ed273
--- /dev/null
+++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/desc.json
@@ -0,0 +1,24 @@
+{
+ "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",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/input-0.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/input-0.json
new file mode 100644
index 000000000..b4fbc3da3
--- /dev/null
+++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/input-0.json
@@ -0,0 +1,245 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 41,
+ 7,
+ 99,
+ 73,
+ 79,
+ -19,
+ 111,
+ 56,
+ -39
+ ],
+ [
+ -62,
+ 76,
+ -122,
+ 100,
+ 69,
+ 18,
+ 124,
+ -60,
+ 124
+ ]
+ ],
+ [
+ [
+ -94,
+ 64,
+ -77,
+ 42,
+ -39,
+ -33,
+ -62,
+ 108,
+ 15
+ ],
+ [
+ -5,
+ -59,
+ 58,
+ -66,
+ 17,
+ -35,
+ 101,
+ -50,
+ 48
+ ]
+ ],
+ [
+ [
+ -82,
+ -50,
+ 4,
+ 106,
+ -24,
+ -83,
+ 100,
+ -74,
+ -72
+ ],
+ [
+ -37,
+ 81,
+ -34,
+ 117,
+ 82,
+ 84,
+ -17,
+ 84,
+ 95
+ ]
+ ],
+ [
+ [
+ -26,
+ -44,
+ -101,
+ -29,
+ -6,
+ 67,
+ 14,
+ -65,
+ -52
+ ],
+ [
+ -97,
+ -73,
+ -93,
+ 69,
+ -69,
+ -115,
+ 25,
+ 13,
+ -118
+ ]
+ ],
+ [
+ [
+ 48,
+ 41,
+ 118,
+ 67,
+ 76,
+ 63,
+ 38,
+ 33,
+ 31
+ ],
+ [
+ -16,
+ -104,
+ 123,
+ 121,
+ -105,
+ 72,
+ 65,
+ -65,
+ -31
+ ]
+ ],
+ [
+ [
+ 68,
+ 83,
+ -26,
+ 33,
+ -12,
+ -93,
+ -87,
+ 86,
+ -124
+ ],
+ [
+ -109,
+ -53,
+ 79,
+ 52,
+ 17,
+ 31,
+ -90,
+ -88,
+ 24
+ ]
+ ],
+ [
+ [
+ -37,
+ 14,
+ 36,
+ -47,
+ 90,
+ 79,
+ -101,
+ -96,
+ -75
+ ],
+ [
+ -93,
+ 12,
+ -67,
+ 38,
+ 93,
+ -93,
+ -86,
+ -83,
+ 78
+ ]
+ ],
+ [
+ [
+ 122,
+ 70,
+ 47,
+ 28,
+ -77,
+ -8,
+ 105,
+ -37,
+ -121
+ ],
+ [
+ -73,
+ 1,
+ 49,
+ -18,
+ -10,
+ 49,
+ -58,
+ 76,
+ -45
+ ]
+ ],
+ [
+ [
+ -100,
+ -93,
+ -36,
+ -117,
+ -80,
+ -16,
+ 113,
+ 121,
+ 67
+ ],
+ [
+ 113,
+ 29,
+ -94,
+ 41,
+ 13,
+ 90,
+ -39,
+ 81,
+ 38
+ ]
+ ],
+ [
+ [
+ 61,
+ -122,
+ 119,
+ 11,
+ 38,
+ -10,
+ -94,
+ 15,
+ 48
+ ],
+ [
+ -90,
+ -34,
+ 30,
+ -55,
+ -53,
+ -100,
+ 2,
+ -98,
+ 94
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/input-1.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/input-1.json
new file mode 100644
index 000000000..4e8b8f956
--- /dev/null
+++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/input-1.json
@@ -0,0 +1,135 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ -84,
+ -104,
+ 109,
+ -27,
+ -78,
+ 12,
+ -102,
+ -23,
+ 40
+ ]
+ ],
+ [
+ [
+ -6,
+ 109,
+ 56,
+ 38,
+ 43,
+ 47,
+ -6,
+ -101,
+ -63
+ ]
+ ],
+ [
+ [
+ -48,
+ -62,
+ -57,
+ 67,
+ 113,
+ -13,
+ -4,
+ -44,
+ 33
+ ]
+ ],
+ [
+ [
+ 47,
+ -114,
+ 0,
+ -19,
+ -16,
+ 1,
+ -93,
+ 76,
+ 102
+ ]
+ ],
+ [
+ [
+ -101,
+ 84,
+ 15,
+ 86,
+ -81,
+ -81,
+ -127,
+ 1,
+ -23
+ ]
+ ],
+ [
+ [
+ 114,
+ 14,
+ 109,
+ -61,
+ -119,
+ 84,
+ -127,
+ 89,
+ 2
+ ]
+ ],
+ [
+ [
+ 20,
+ -74,
+ -60,
+ -75,
+ 61,
+ -9,
+ -103,
+ -116,
+ 55
+ ]
+ ],
+ [
+ [
+ 43,
+ -48,
+ -39,
+ 77,
+ -110,
+ 118,
+ 89,
+ -94,
+ 6
+ ]
+ ],
+ [
+ [
+ 16,
+ 106,
+ 24,
+ -127,
+ -56,
+ 21,
+ -33,
+ -8,
+ 112
+ ]
+ ],
+ [
+ [
+ 111,
+ -60,
+ -83,
+ 116,
+ 11,
+ 23,
+ -84,
+ 36,
+ 91
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/test.json
new file mode 100644
index 000000000..3258a929c
--- /dev/null
+++ b/operators/ew_binary/bitwise_and/bitwise_and_ERRORIF_WrongOutputType_10x2x9_i8/test.json
@@ -0,0 +1,62 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "BITWISE_AND",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 2,
+ 9
+ ],
+ type: "INT8"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 10,
+ 1,
+ 9
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 2,
+ 9
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}