diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 15:17:52 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 16:40:57 +0000 |
commit | b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch) | |
tree | 4b4737ff52e92c1c17922a972384930953a26a61 /operators/ew_binary/logical_xor | |
parent | 007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff) | |
download | conformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz |
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'operators/ew_binary/logical_xor')
13 files changed, 592 insertions, 527 deletions
diff --git a/operators/ew_binary/logical_xor/logical_xor_1x2x1x65534_b/test.json b/operators/ew_binary/logical_xor/logical_xor_1x2x1x65534_b/test.json index eb85e373e..e634188c5 100644 --- a/operators/ew_binary/logical_xor/logical_xor_1x2x1x65534_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_1x2x1x65534_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 1, + 65534 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 65534 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65534 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 1, - 65534 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 65534 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65534 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_1x65539x1_b/test.json b/operators/ew_binary/logical_xor/logical_xor_1x65539x1_b/test.json index 72a257c50..ed2c531c7 100644 --- a/operators/ew_binary/logical_xor/logical_xor_1x65539x1_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_1x65539x1_b/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1, + 65539, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1, - 65539, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_43x1_b/test.json b/operators/ew_binary/logical_xor/logical_xor_43x1_b/test.json index cf07afdde..bca2350c6 100644 --- a/operators/ew_binary/logical_xor/logical_xor_43x1_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_43x1_b/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 43, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 43, + 30 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 43, + 30 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 43, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 43, - 30 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 43, - 30 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_4x12x5x4x9_b/test.json b/operators/ew_binary/logical_xor/logical_xor_4x12x5x4x9_b/test.json index 07a76df7d..57de60eba 100644 --- a/operators/ew_binary/logical_xor/logical_xor_4x12x5x4x9_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_4x12x5x4x9_b/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 12, + 5, + 4, + 9 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 4, + 12, + 5, + 1, + 9 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4, + 12, + 5, + 4, + 9 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 12, - 5, - 4, - 9 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 4, - 12, - 5, - 1, - 9 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4, - 12, - 5, - 4, - 9 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_4x13x11x1_b/test.json b/operators/ew_binary/logical_xor/logical_xor_4x13x11x1_b/test.json index afe52e0e3..d00cf6489 100644 --- a/operators/ew_binary/logical_xor/logical_xor_4x13x11x1_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_4x13x11x1_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 4, + 13, + 11, + 1 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 4, + 13, + 11, + 8 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4, + 13, + 11, + 8 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 4, - 13, - 11, - 1 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 4, - 13, - 11, - 8 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4, - 13, - 11, - 8 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_9_b/test.json b/operators/ew_binary/logical_xor/logical_xor_9_b/test.json index e93e2e64a..a6c2756bc 100644 --- a/operators/ew_binary/logical_xor/logical_xor_9_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_9_b/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 9 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 9 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 9 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_9x1x16_b/test.json b/operators/ew_binary/logical_xor/logical_xor_9x1x16_b/test.json index 23ede7ed5..e67d4b793 100644 --- a/operators/ew_binary/logical_xor/logical_xor_9x1x16_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_9x1x16_b/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9, + 1, + 16 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 9, + 45, + 16 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 9, + 45, + 16 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 9, - 1, - 16 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 9, - 45, - 16 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 9, - 45, - 16 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json index f54b1a528..772716f0c 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_DimensionMismatch_11x7x11x3_b/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 11, + 7, + 11, + 4 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 11, - 7, - 11, - 4 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_RankMismatch_13x2_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_RankMismatch_13x2_b/test.json index 3263bf5e3..f27fa0525 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_RankMismatch_13x2_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_RankMismatch_13x2_b/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputList_13x1x13x5_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputList_13x1x13x5_b/test.json index 53ed24648..43da68071 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputList_13x1x13x5_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputList_13x1x13x5_b/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 13, + 1, + 13, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "BOOL" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 13, - 1, - 13, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputType_5x12x13x7_i4/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputType_5x12x13x7_i4/test.json index 70fc0882b..c1d0d7c4d 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputType_5x12x13x7_i4/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongInputType_5x12x13x7_i4/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 12, + 13, + 7 + ], + type: "INT4" + }, + { + name: "input-1", + shape: [ + 5, + 12, + 13, + 1 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 5, + 12, + 13, + 7 + ], + type: "INT4" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 12, - 13, - 7 - ], - type: "INT4" - }, - { - name: "input-1", - shape: [ - 5, - 12, - 13, - 1 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 5, - 12, - 13, - 7 - ], - type: "INT4" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputList_10x7x7x7_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputList_10x7x7x7_b/test.json index fb8134564..d214a4560 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputList_10x7x7x7_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputList_10x7x7x7_b/test.json @@ -5,60 +5,65 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 7, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 7, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json index 9845927e2..211aa589e 100644 --- a/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json +++ b/operators/ew_binary/logical_xor/logical_xor_ERRORIF_WrongOutputType_12_b/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "LOGICAL_XOR", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "LOGICAL_XOR", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "BOOL" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "BOOL" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] |