aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b
diff options
context:
space:
mode:
Diffstat (limited to 'operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b')
-rw-r--r--operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/desc.json20
-rw-r--r--operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/input-0.json67
-rw-r--r--operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/input-1.json68
-rw-r--r--operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/test.json56
4 files changed, 211 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/desc.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/desc.json
new file mode 100644
index 000000000..3a2350840
--- /dev/null
+++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/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": "Input Dimensions do not match output"
+} \ No newline at end of file
diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/input-0.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/input-0.json
new file mode 100644
index 000000000..f5c2df506
--- /dev/null
+++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/input-0.json
@@ -0,0 +1,67 @@
+{
+ "type": "bool",
+ "data": [
+ true,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ true,
+ true,
+ false,
+ true,
+ false,
+ true,
+ true,
+ true,
+ true,
+ true,
+ false,
+ true,
+ true,
+ true,
+ false,
+ true,
+ true,
+ true,
+ true,
+ false,
+ false,
+ true,
+ true,
+ true,
+ true,
+ false,
+ true,
+ true,
+ true,
+ false,
+ true,
+ true,
+ false,
+ true,
+ true,
+ true,
+ false,
+ true,
+ false,
+ false,
+ true,
+ false,
+ false,
+ true,
+ true,
+ true,
+ false,
+ false,
+ true,
+ false,
+ true,
+ true
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/input-1.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/input-1.json
new file mode 100644
index 000000000..2f147be09
--- /dev/null
+++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/input-1.json
@@ -0,0 +1,68 @@
+{
+ "type": "bool",
+ "data": [
+ false,
+ true,
+ false,
+ true,
+ false,
+ true,
+ true,
+ true,
+ true,
+ false,
+ true,
+ false,
+ true,
+ true,
+ true,
+ true,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ false,
+ true,
+ false,
+ true,
+ true,
+ false,
+ false,
+ false,
+ true,
+ false,
+ true,
+ true,
+ true,
+ false,
+ true,
+ false,
+ true,
+ false,
+ false,
+ false,
+ true,
+ true,
+ false,
+ false,
+ true,
+ true,
+ false,
+ true,
+ true,
+ false,
+ true,
+ false,
+ false,
+ false,
+ true,
+ true,
+ true,
+ true,
+ true,
+ true,
+ true
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/test.json
new file mode 100644
index 000000000..856c3261f
--- /dev/null
+++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_62_b/test.json
@@ -0,0 +1,56 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "LOGICAL_XOR",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 62
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 63
+ ],
+ type: "BOOL"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 62
+ ],
+ type: "BOOL"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}