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/intdiv | |
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/intdiv')
13 files changed, 589 insertions, 524 deletions
diff --git a/operators/ew_binary/intdiv/intdiv_1x1x65539x1x1_i32/test.json b/operators/ew_binary/intdiv/intdiv_1x1x65539x1x1_i32/test.json index 1b9a50231..53a9b65af 100644 --- a/operators/ew_binary/intdiv/intdiv_1x1x65539x1x1_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_1x1x65539x1x1_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65539, + 1, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65539, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65539, - 1, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 1, - 1, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65539, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_1x65533x1_i32/test.json b/operators/ew_binary/intdiv/intdiv_1x65533x1_i32/test.json index 2123db339..997996ba3 100644 --- a/operators/ew_binary/intdiv/intdiv_1x65533x1_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_1x65533x1_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1, + 65533, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65533, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1, - 65533, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65533, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_20_i32/test.json b/operators/ew_binary/intdiv/intdiv_20_i32/test.json index 958a6fcde..9a20ec6a3 100644 --- a/operators/ew_binary/intdiv/intdiv_20_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_20_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_20x1x25_i32/test.json b/operators/ew_binary/intdiv/intdiv_20x1x25_i32/test.json index 36cdff816..8b72a6ec0 100644 --- a/operators/ew_binary/intdiv/intdiv_20x1x25_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_20x1x25_i32/test.json @@ -5,13 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 1, + 25 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 20, + 49, + 25 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,42 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 1, - 25 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 20, - 49, - 25 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_2x11x4x2x8_i32/test.json b/operators/ew_binary/intdiv/intdiv_2x11x4x2x8_i32/test.json index 488a4e393..693354634 100644 --- a/operators/ew_binary/intdiv/intdiv_2x11x4x2x8_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_2x11x4x2x8_i32/test.json @@ -5,13 +5,60 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 11, + 4, + 1, + 8 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 4, + 2, + 8 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,48 +67,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 11, - 4, - 1, - 8 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 4, - 2, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_2x12x10x1_i32/test.json b/operators/ew_binary/intdiv/intdiv_2x12x10x1_i32/test.json index a51f11edd..c8cd09e99 100644 --- a/operators/ew_binary/intdiv/intdiv_2x12x10x1_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_2x12x10x1_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 12, + 10, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 2, + 12, + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 12, - 10, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 2, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_47x1_i32/test.json b/operators/ew_binary/intdiv/intdiv_47x1_i32/test.json index 73cca6f32..df70b9173 100644 --- a/operators/ew_binary/intdiv/intdiv_47x1_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_47x1_i32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 47, + 1 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 47, + 37 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 47, + 37 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 47, - 1 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 47, - 37 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 47, - 37 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_11x7x11x3_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_11x7x11x3_i32/test.json index e5e9a0308..1451578aa 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_11x7x11x3_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_DimensionMismatch_11x7x11x3_i32/test.json @@ -5,13 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 11, + 7, + 11, + 4 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11, + 7, + 11, + 3 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,45 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 11, - 7, - 11, - 4 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11, - 7, - 11, - 3 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_RankMismatch_13x2_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_RankMismatch_13x2_i32/test.json index d07798af1..945e0fd23 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_RankMismatch_13x2_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_RankMismatch_13x2_i32/test.json @@ -5,13 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" @@ -20,38 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 2 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_13x1x13x5_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_13x1x13x5_i32/test.json index 18f496900..1d8b37ff1 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_13x1x13x5_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputList_13x1x13x5_i32/test.json @@ -5,59 +5,64 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 13, + 1, + 13, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 13, + 5 + ], + type: "INT32" + } + ], inputs: [ - "input-0" + "input-0", + "input-1" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 13, - 1, - 13, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 13, - 5 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json index 0bc8e4bb4..4999de57c 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongInputType_7x14_f32/test.json @@ -5,13 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 14 + ], + type: "FP32" + }, + { + name: "input-1", + shape: [ + 7, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 7, + 14 + ], + type: "FP32" + } + ], inputs: [ "input-0", "input-1" @@ -20,39 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 14 - ], - type: "FP32" - }, - { - name: "input-1", - shape: [ - 7, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 7, - 14 - ], - type: "FP32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputList_10x7x7x7_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputList_10x7x7x7_i32/test.json index 297bae919..53335ecd7 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputList_10x7x7x7_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputList_10x7x7x7_i32/test.json @@ -5,60 +5,65 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 10, + 7, + 7, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 7, + 7, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0", "input-1" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 10, - 7, - 7, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 7, - 7, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_12_i32/test.json b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_12_i32/test.json index 7599945a7..005b1c02a 100644 --- a/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_12_i32/test.json +++ b/operators/ew_binary/intdiv/intdiv_ERRORIF_WrongOutputType_12_i32/test.json @@ -5,13 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "INTDIV", - attribute_type: "NONE", + name: "main", + operators: [ + { + op: "INTDIV", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0", "input-1" @@ -20,36 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" ] } ] |