diff options
Diffstat (limited to 'operators/ew_binary/bitwise_xor')
19 files changed, 835 insertions, 740 deletions
diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json index 2f990b039..061cd02b1 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1_i16/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 43 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 43 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 43 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 43 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x2x65536x1_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x2x65536x1_i8/test.json index 2a1c52606..4f1baddc5 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x2x65536x1_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x2x65536x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65536, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65536, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x30x31_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x30x31_i32/test.json index 8e654c451..c369e7ba4 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x30x31_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x30x31_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 30, + 31 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 36, + 30, + 31 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36, + 30, + 31 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 30, - 31 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 36, - 30, - 31 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 36, - 30, - 31 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x31x34_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x31x34_i8/test.json index d2434f34e..7996227b2 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x31x34_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x31x34_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 31, + 34 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 54, + 31, + 34 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 54, + 31, + 34 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 31, - 34 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 54, - 31, - 34 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 54, - 31, - 34 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json index eafa5d20e..f7380d044 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x45_i8/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 45 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 9, + 45 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 9, + 45 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 45 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 9, - 45 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 9, - 45 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_1x65536x1x1x1_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_1x65536x1x1x1_i8/test.json index fdbea1d6d..ff114bee7 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_1x65536x1x1x1_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_1x65536x1x1x1_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1, + 65536, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1, - 65536, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_29_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_29_i32/test.json index e41f6a74e..e213cbdcc 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_29_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_29_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 29 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 29 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 29 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 29 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_2x11x4x2x8_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_2x11x4x2x8_i8/test.json index 952e1e9f5..4a69ab06c 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_2x11x4x2x8_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_2x11x4x2x8_i8/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_2x12x10x1_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_2x12x10x1_i8/test.json index b00697b69..a212bc152 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_2x12x10x1_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_2x12x10x1_i8/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_35x62_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_35x62_i16/test.json index 786be754e..fa81c3f53 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_35x62_i16/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_35x62_i16/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 35, + 62 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 35, + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 35, + 62 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 35, - 62 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 35, - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 35, - 62 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_47x51_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_47x51_i32/test.json index 7a65fdaf5..b31662dac 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_47x51_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_47x51_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 51 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 51 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 51 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 51 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 51 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 51 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_59x50x1_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_59x50x1_i16/test.json index 009da8064..f55ac8909 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_59x50x1_i16/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_59x50x1_i16/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 59, + 50, + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 59, + 50, + 42 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 59, + 50, + 42 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 59, - 50, - 1 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 59, - 50, - 42 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 59, - 50, - 42 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_9_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_9_i8/test.json index 91db9fc98..142bf670e 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_9_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_9_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 9 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 9 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 9 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_DimensionMismatch_12_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_DimensionMismatch_12_i8/test.json index 6c981080a..f256d9e65 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_DimensionMismatch_12_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_DimensionMismatch_12_i8/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT8" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_12x11x14x12_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_12x11x14x12_i32/test.json index 3c7c48d9f..5656e2fe5 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_12x11x14x12_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_RankMismatch_12x11x14x12_i32/test.json @@ -5,13 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 12, + 11, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12, + 11, + 14, + 12 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,44 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 12, - 11, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12, - 11, - 14, - 12 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputList_10x10_i32/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputList_10x10_i32/test.json index b6603d215..c6d2e830b 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputList_10x10_i32/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputList_10x10_i32/test.json @@ -5,53 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 10 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 10 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputType_11x10x3_i48/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputType_11x10x3_i48/test.json index 6db462fa3..bcc758cd7 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputType_11x10x3_i48/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongInputType_11x10x3_i48/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + }, + { + name: "input-1", + shape: [ + 11, + 10, + 1 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 11, + 10, + 3 + ], + type: "INT48" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - }, - { - name: "input-1", - shape: [ - 11, - 10, - 1 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 11, - 10, - 3 - ], - type: "INT48" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputList_11_i16/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputList_11_i16/test.json index 3e42d153f..7de4b8d28 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputList_11_i16/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputList_11_i16/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT16" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputType_10x2x9_i8/test.json b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputType_10x2x9_i8/test.json index c97c6be11..4332d1d37 100644 --- a/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputType_10x2x9_i8/test.json +++ b/operators/ew_binary/bitwise_xor/bitwise_xor_ERRORIF_WrongOutputType_10x2x9_i8/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "BITWISE_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "BITWISE_XOR", + 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" @@ -20,42 +61,6 @@ "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" ] } ] |