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/reduction | |
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/reduction')
264 files changed, 10605 insertions, 9303 deletions
diff --git a/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis0/test.json index b050edf58..7bc68a0bf 100644 --- a/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 14, + 27 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 14, - 27 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis1/test.json b/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis1/test.json index 0b2621825..9fff56ff6 100644 --- a/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis1/test.json +++ b/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 14, + 1, + 27 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 14, - 1, - 27 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis2/test.json b/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis2/test.json index 3d85f917c..2be6a2002 100644 --- a/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis2/test.json +++ b/operators/reduction/reduce_all/reduce_all_14x14x27_b_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 14, + 14, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 14, - 14, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/test.json index bea3362a8..3fb9ca354 100644 --- a/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_24x21_b_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 21 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 21 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 21 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 21 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_24x21_b_axis1/test.json b/operators/reduction/reduce_all/reduce_all_24x21_b_axis1/test.json index 4bff5a3ff..c3d6db5e7 100644 --- a/operators/reduction/reduce_all/reduce_all_24x21_b_axis1/test.json +++ b/operators/reduction/reduce_all/reduce_all_24x21_b_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 21 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 24, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 21 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 24, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis0/test.json index d3d1ada06..fc53c8a57 100644 --- a/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis1/test.json b/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis1/test.json index a2393e0b1..90aaef7bd 100644 --- a/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis1/test.json +++ b/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis2/test.json b/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis2/test.json index c8b5e2247..1e1cd671f 100644 --- a/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis2/test.json +++ b/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis3/test.json b/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis3/test.json index 31c81b049..798dbe216 100644 --- a/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis3/test.json +++ b/operators/reduction/reduce_all/reduce_all_2x65538x1x1_b_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_3_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_3_b_axis0/test.json index 65e8699a7..7a3949a95 100644 --- a/operators/reduction/reduce_all/reduce_all_3_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_3_b_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis0/test.json index eee09a293..893247a2b 100644 --- a/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 22, + 7, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 22, - 7, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis1/test.json b/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis1/test.json index b5d4ab990..d6fab1231 100644 --- a/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis1/test.json +++ b/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 7, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 7, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis2/test.json b/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis2/test.json index d50f122c1..6df0f8d71 100644 --- a/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis2/test.json +++ b/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 3, + 22, + 1, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 3, - 22, - 1, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis3/test.json b/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis3/test.json index 3d8df3a80..391571444 100644 --- a/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis3/test.json +++ b/operators/reduction/reduce_all/reduce_all_3x22x7x3_b_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 3, + 22, + 7, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 3, - 22, - 7, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis0/test.json index 60f647ee0..1c1913997 100644 --- a/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis1/test.json b/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis1/test.json index cf20cf726..bf21fc316 100644 --- a/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis1/test.json +++ b/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis2/test.json b/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis2/test.json index f502f544a..c021024cf 100644 --- a/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis2/test.json +++ b/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis3/test.json b/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis3/test.json index 06cfc7cb2..89686eaaa 100644 --- a/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis3/test.json +++ b/operators/reduction/reduce_all/reduce_all_65530x1x1x1_b_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_ERRORIF_AxisLargerRank_10x7_b_axis6/test.json b/operators/reduction/reduce_all/reduce_all_ERRORIF_AxisLargerRank_10x7_b_axis6/test.json index a91b198e7..d58b28410 100644 --- a/operators/reduction/reduce_all/reduce_all_ERRORIF_AxisLargerRank_10x7_b_axis6/test.json +++ b/operators/reduction/reduce_all/reduce_all_ERRORIF_AxisLargerRank_10x7_b_axis6/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 6 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 6 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_ERRORIF_AxisSmallerZero_11_b_axis-2/test.json b/operators/reduction/reduce_all/reduce_all_ERRORIF_AxisSmallerZero_11_b_axis-2/test.json index af2ce4305..85af6f64b 100644 --- a/operators/reduction/reduce_all/reduce_all_ERRORIF_AxisSmallerZero_11_b_axis-2/test.json +++ b/operators/reduction/reduce_all/reduce_all_ERRORIF_AxisSmallerZero_11_b_axis-2/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: -2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: -2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_b_axis0/test.json index 2740b11de..767e34780 100644 --- a/operators/reduction/reduce_all/reduce_all_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_b_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 1, + 13, + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 14, + 1, + 13, + 13 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 1, - 13, - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 14, - 1, - 13, - 13 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongInputList_10x1x6_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongInputList_10x1x6_b_axis0/test.json index 1d273b749..5124ad7f9 100644 --- a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongInputList_10x1x6_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongInputList_10x1x6_b_axis0/test.json @@ -5,50 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 6 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 6 + ], + type: "BOOL" + } + ], inputs: [ - "input-0", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 6 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 6 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongInputType_10_i8_axis0/test.json b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongInputType_10_i8_axis0/test.json index a8682abd1..f616b6cd9 100644 --- a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongInputType_10_i8_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongInputType_10_i8_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongOutputList_15x13_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongOutputList_15x13_b_axis0/test.json index 1c872000c..99e5bb0b0 100644 --- a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongOutputList_15x13_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongOutputList_15x13_b_axis0/test.json @@ -5,48 +5,53 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 15, + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 13 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 15, - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 13 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongOutputType_11x10x8_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongOutputType_11x10x8_b_axis0/test.json index ea97b60ce..92b70fa09 100644 --- a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongOutputType_11x10x8_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongOutputType_11x10x8_b_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 8 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 10, + 8 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 8 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 10, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongRank_9x10x9x9x2_b_axis0/test.json b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongRank_9x10x9x9x2_b_axis0/test.json index dbfd4c9ba..0cc349f74 100644 --- a/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongRank_9x10x9x9x2_b_axis0/test.json +++ b/operators/reduction/reduce_all/reduce_all_ERRORIF_WrongRank_9x10x9x9x2_b_axis0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ALL", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ALL", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9, + 10, + 9, + 9, + 2 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 10, + 9, + 9, + 2 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,36 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 9, - 10, - 9, - 9, - 2 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 10, - 9, - 9, - 2 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis0/test.json index 038328d66..34c3a83c2 100644 --- a/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 14, + 27 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 14, - 27 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis1/test.json b/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis1/test.json index f5e689da6..981ed10fa 100644 --- a/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis1/test.json +++ b/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 14, + 1, + 27 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 14, - 1, - 27 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis2/test.json b/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis2/test.json index bb0b3be36..6a3c19b2b 100644 --- a/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis2/test.json +++ b/operators/reduction/reduce_any/reduce_any_14x14x27_b_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 14, + 14, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 14, - 14, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_24x21_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_24x21_b_axis0/test.json index 217e4e7cb..b7139741c 100644 --- a/operators/reduction/reduce_any/reduce_any_24x21_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_24x21_b_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 21 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 21 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 21 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 21 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_24x21_b_axis1/test.json b/operators/reduction/reduce_any/reduce_any_24x21_b_axis1/test.json index ef3e4c5bc..8cd3f083d 100644 --- a/operators/reduction/reduce_any/reduce_any_24x21_b_axis1/test.json +++ b/operators/reduction/reduce_any/reduce_any_24x21_b_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 21 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 24, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 21 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 24, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis0/test.json index 6882186fb..3a36546fa 100644 --- a/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis1/test.json b/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis1/test.json index 93aefeb32..6ef9aa29f 100644 --- a/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis1/test.json +++ b/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis2/test.json b/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis2/test.json index 44a4af125..b60bd8051 100644 --- a/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis2/test.json +++ b/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis3/test.json b/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis3/test.json index 96bd59aa7..1a5204eec 100644 --- a/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis3/test.json +++ b/operators/reduction/reduce_any/reduce_any_2x65538x1x1_b_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_3_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_3_b_axis0/test.json index 14b3957ec..25626f1e6 100644 --- a/operators/reduction/reduce_any/reduce_any_3_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_3_b_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis0/test.json index b2378d914..79611db8c 100644 --- a/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 22, + 7, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 22, - 7, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis1/test.json b/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis1/test.json index 9bb8b79e4..b5eac29b2 100644 --- a/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis1/test.json +++ b/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 7, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 7, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis2/test.json b/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis2/test.json index e32d58431..5fd8da567 100644 --- a/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis2/test.json +++ b/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 3, + 22, + 1, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 3, - 22, - 1, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis3/test.json b/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis3/test.json index 7946b798d..44d1eef36 100644 --- a/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis3/test.json +++ b/operators/reduction/reduce_any/reduce_any_3x22x7x3_b_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 3, + 22, + 7, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 3, - 22, - 7, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis0/test.json index 468f00774..71c911cab 100644 --- a/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis1/test.json b/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis1/test.json index a08c81658..64b78561b 100644 --- a/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis1/test.json +++ b/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis2/test.json b/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis2/test.json index b13bcc6ec..8ca80165b 100644 --- a/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis2/test.json +++ b/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis3/test.json b/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis3/test.json index c5eaadbd4..e86b835b3 100644 --- a/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis3/test.json +++ b/operators/reduction/reduce_any/reduce_any_65530x1x1x1_b_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_AxisLargerRank_10x7_b_axis6/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_AxisLargerRank_10x7_b_axis6/test.json index e764f1db6..502e9892e 100644 --- a/operators/reduction/reduce_any/reduce_any_ERRORIF_AxisLargerRank_10x7_b_axis6/test.json +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_AxisLargerRank_10x7_b_axis6/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 6 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 6 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 7 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 7 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_AxisSmallerZero_11_b_axis-2/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_AxisSmallerZero_11_b_axis-2/test.json index 6759cf52d..cab39319f 100644 --- a/operators/reduction/reduce_any/reduce_any_ERRORIF_AxisSmallerZero_11_b_axis-2/test.json +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_AxisSmallerZero_11_b_axis-2/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: -2 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: -2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_b_axis0/test.json index a06a80bf1..31e742efd 100644 --- a/operators/reduction/reduce_any/reduce_any_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_b_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 1, + 13, + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 14, + 1, + 13, + 13 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 1, - 13, - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 14, - 1, - 13, - 13 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_10x1x6_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_10x1x6_b_axis0/test.json index 7267efcb5..cbfcac3a4 100644 --- a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_10x1x6_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputList_10x1x6_b_axis0/test.json @@ -5,50 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 6 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 6 + ], + type: "BOOL" + } + ], inputs: [ - "input-0", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 6 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 6 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputType_10_i8_axis0/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputType_10_i8_axis0/test.json index 410b94a21..57532c8c3 100644 --- a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputType_10_i8_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongInputType_10_i8_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongOutputList_15x13_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongOutputList_15x13_b_axis0/test.json index d3f8000e8..16dbf9037 100644 --- a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongOutputList_15x13_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongOutputList_15x13_b_axis0/test.json @@ -5,48 +5,53 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 15, + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 13 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 15, - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 13 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongOutputType_11x10x8_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongOutputType_11x10x8_b_axis0/test.json index 0b8621b46..7acb7ed4d 100644 --- a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongOutputType_11x10x8_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongOutputType_11x10x8_b_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10, + 8 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 10, + 8 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10, - 8 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 10, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongRank_9x10x9x9x2_b_axis0/test.json b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongRank_9x10x9x9x2_b_axis0/test.json index 20157d169..aa582006c 100644 --- a/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongRank_9x10x9x9x2_b_axis0/test.json +++ b/operators/reduction/reduce_any/reduce_any_ERRORIF_WrongRank_9x10x9x9x2_b_axis0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_ANY", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_ANY", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 9, + 10, + 9, + 9, + 2 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 10, + 9, + 9, + 2 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -22,36 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 9, - 10, - 9, - 9, - 2 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 10, - 9, - 9, - 2 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis0/test.json index 49e7c8efe..9c121a523 100644 --- a/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 26, + 17, + 14 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 26, - 17, - 14 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis1/test.json index 45ff92607..03b7bbf40 100644 --- a/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 17, + 14 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 17, - 14 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis2/test.json b/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis2/test.json index 26aae7b92..5db26dc23 100644 --- a/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 26, + 1, + 14 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 26, - 1, - 14 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis3/test.json b/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis3/test.json index a4505308a..5850a5e68 100644 --- a/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_13x26x17x14_f32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 26, + 17, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 26, - 17, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis0/test.json index c7b6f0324..1d371b1ac 100644 --- a/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 26, + 17, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 26, - 17, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis1/test.json index 9c41793db..93983842f 100644 --- a/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 17, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 17, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis2/test.json b/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis2/test.json index 73c3d9db6..dd5570635 100644 --- a/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 26, + 1, + 14 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 26, - 1, - 14 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis3/test.json b/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis3/test.json index 9d182b272..e59b0b9eb 100644 --- a/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_13x26x17x14_i32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 13, + 26, + 17, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 13, - 26, - 17, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_14x14_f16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_14x14_f16_axis0/test.json index 1fc5f108d..3a902de45 100644 --- a/operators/reduction/reduce_max/reduce_max_14x14_f16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_14x14_f16_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 14 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 14 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_14x14_f16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_14x14_f16_axis1/test.json index fcce25b3f..85cc4abe3 100644 --- a/operators/reduction/reduce_max/reduce_max_14x14_f16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_14x14_f16_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 14, + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 14, - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/test.json index be480185c..25b71a0c2 100644 --- a/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 14 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 14 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_14x14_i8_axis1/test.json b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis1/test.json index 2e6b247aa..c437e0e1d 100644 --- a/operators/reduction/reduce_max/reduce_max_14x14_i8_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_14x14_i8_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 14, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 14, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis0/test.json index 9a58f7310..360132e59 100644 --- a/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 1, + 65531 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 65531 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 1, - 65531 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 65531 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis1/test.json index 3ca2dd3e5..0fade050a 100644 --- a/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 1, + 65531 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 65531 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 1, - 65531 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 65531 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis2/test.json b/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis2/test.json index 9d4f43e8b..5322aa064 100644 --- a/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 1, + 65531 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 65531 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 1, - 65531 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 65531 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis3/test.json b/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis3/test.json index c963e2f33..6cb8c1364 100644 --- a/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_1x1x1x65531_f32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 1, + 65531 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 1, - 65531 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis0/test.json index 43b70fb7c..620be5c42 100644 --- a/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65539, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65539, + 2 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65539, - 2 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65539, - 2 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis1/test.json index 086f76532..c9d773e39 100644 --- a/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65539, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65539, + 2 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65539, - 2 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65539, - 2 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis2/test.json b/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis2/test.json index f5ebc6266..ceead6925 100644 --- a/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65539, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65539, - 2 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 2 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis3/test.json b/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis3/test.json index 852280ddc..6ea3804d5 100644 --- a/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_1x1x65539x2_f32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65539, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65539, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65539, - 2 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65539, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_21_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_21_f32_axis0/test.json index ae9056fe8..70271af93 100644 --- a/operators/reduction/reduce_max/reduce_max_21_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_21_f32_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 21 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json index 8af955d92..6e3c11d35 100644 --- a/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_21_i32_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 21 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_22x7_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis0/test.json index 807708ae7..3fabb34ba 100644 --- a/operators/reduction/reduce_max/reduce_max_22x7_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 22, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 7 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 22, - 7 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 7 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/test.json index b3169c1dd..804ffb57f 100644 --- a/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_22x7_f32_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 22, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 22, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 22, - 7 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 22, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/test.json index 79fb566ca..942226a2b 100644 --- a/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 22, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 22, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_22x7_i32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis1/test.json index 66877e94c..d81ecb295 100644 --- a/operators/reduction/reduce_max/reduce_max_22x7_i32_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 22, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 22, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 22, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 22, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis0/test.json index ec30e8116..de4479a78 100644 --- a/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 24, + 23 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 24, - 23 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis1/test.json index c6cdebd15..f9027d0ef 100644 --- a/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 23, + 1, + 23 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 23, - 1, - 23 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis2/test.json b/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis2/test.json index 29324224c..ecdbbce66 100644 --- a/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_23x24x23_bf16_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 23, + 24, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 23, - 24, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis0/test.json index 1d5d0ee45..b57066b67 100644 --- a/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 24, + 23 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1, - 24, - 23 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis1/test.json index f90c8f9f8..ef1c37d7e 100644 --- a/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 23, + 1, + 23 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 23, - 1, - 23 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis2/test.json b/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis2/test.json index f74ca229e..cee77b746 100644 --- a/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_23x24x23_i16_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 23, + 24, + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 23, - 24, - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_24_bf16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_24_bf16_axis0/test.json index 072ca3356..d8e42830c 100644 --- a/operators/reduction/reduce_max/reduce_max_24_bf16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_24_bf16_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json index 6f8364b31..fd8ca9cc8 100644 --- a/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_24_i16_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis0/test.json index 3aa5c2c89..e70945478 100644 --- a/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 16, + 4 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 16, - 4 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis1/test.json index 42236a6ae..9b4f4af9d 100644 --- a/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 25, + 1, + 4 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 25, - 1, - 4 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis2/test.json b/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis2/test.json index 61d70bf6b..fc0341565 100644 --- a/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_25x16x4_f32_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 25, + 16, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 25, - 16, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis0/test.json index eaa0ae336..3b856d67e 100644 --- a/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 16, + 4 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 16, - 4 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis1/test.json b/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis1/test.json index 480a4a2c7..23e7f99a0 100644 --- a/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 25, + 1, + 4 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 25, - 1, - 4 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis2/test.json b/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis2/test.json index 9ac53c0d0..5680da16e 100644 --- a/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_25x16x4_i32_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 25, + 16, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 25, - 16, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis0/test.json index f44a2081d..9f814fc0c 100644 --- a/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 14, + 16, + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 14, - 16, - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis1/test.json index b61849829..677a5090b 100644 --- a/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 27, + 1, + 16, + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 27, - 1, - 16, - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis2/test.json b/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis2/test.json index ae784572c..9e235909a 100644 --- a/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 27, + 14, + 1, + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 27, - 14, - 1, - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis3/test.json b/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis3/test.json index 67c5135d1..69b0efa8b 100644 --- a/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x14x16x12_f16_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 27, + 14, + 16, + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 27, - 14, - 16, - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis0/test.json index 8fcfba784..12df57685 100644 --- a/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 14, + 16, + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 14, - 16, - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis1/test.json b/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis1/test.json index d919c861f..00294dccb 100644 --- a/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 27, + 1, + 16, + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 27, - 1, - 16, - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis2/test.json b/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis2/test.json index 2dd97efbf..3d9f3fbc7 100644 --- a/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 27, + 14, + 1, + 12 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 27, - 14, - 1, - 12 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis3/test.json b/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis3/test.json index b2ab61d41..1275ad3c3 100644 --- a/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x14x16x12_i8_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 27, + 14, + 16, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 27, - 14, - 16, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x3_bf16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_27x3_bf16_axis0/test.json index 9e8e89be7..3e087ed51 100644 --- a/operators/reduction/reduce_max/reduce_max_27x3_bf16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x3_bf16_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 3 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 3 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 3 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 3 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x3_bf16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_27x3_bf16_axis1/test.json index 4941a3a03..7419a0eda 100644 --- a/operators/reduction/reduce_max/reduce_max_27x3_bf16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x3_bf16_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 3 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 27, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 3 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 27, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/test.json index 7f2baf833..dfb0b5083 100644 --- a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 3 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 3 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 3 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1, - 3 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/test.json index f1141e21e..c5bf59bd4 100644 --- a/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_27x3_i16_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 3 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 27, + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 3 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 27, - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis0/test.json index fdea2d23c..490154127 100644 --- a/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis1/test.json b/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis1/test.json index a12be407e..deea325be 100644 --- a/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis2/test.json b/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis2/test.json index 37d64054f..c3a2a6987 100644 --- a/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis3/test.json b/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis3/test.json index fdc08d5d9..eeec05991 100644 --- a/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_2x65538x1x1_i8_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 65538, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 65538, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_3_f16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_3_f16_axis0/test.json index 55d174602..d5d6d6df3 100644 --- a/operators/reduction/reduce_max/reduce_max_3_f16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_3_f16_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_3_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/test.json index 04284f7a3..8e319c6a9 100644 --- a/operators/reduction/reduce_max/reduce_max_3_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_3_i8_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis0/test.json index dafe423ff..3343d625f 100644 --- a/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 17, + 31 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 17, - 31 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis1/test.json index 6f604e8b6..90d4eea60 100644 --- a/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 31 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 31 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis2/test.json b/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis2/test.json index 44bee27fb..2420a4964 100644 --- a/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_3x17x31_f16_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 3, + 17, + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 3, - 17, - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis0/test.json index 6beae3d7f..0741e8313 100644 --- a/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 17, + 31 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 17, - 31 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis1/test.json b/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis1/test.json index 55939c864..161ce876a 100644 --- a/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 31 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 31 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis2/test.json b/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis2/test.json index af8804bc5..aeb0b154d 100644 --- a/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_3x17x31_i8_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 3, + 17, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 3, - 17, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis0/test.json index 9e533db0b..428bbc7be 100644 --- a/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis1/test.json b/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis1/test.json index a4f8e121c..92c623946 100644 --- a/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis2/test.json b/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis2/test.json index b7ba0f5b3..510919924 100644 --- a/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis3/test.json b/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis3/test.json index 0161fd296..b15b3a887 100644 --- a/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_65530x1x1x1_i8_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 65530, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 65530, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis0/test.json index ac71a9a3e..a88315e2a 100644 --- a/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 29, + 25, + 20 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 29, - 25, - 20 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis1/test.json index 386616000..e70c47673 100644 --- a/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 6, + 1, + 25, + 20 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 6, - 1, - 25, - 20 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis2/test.json b/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis2/test.json index 88bc5bd65..790cfb790 100644 --- a/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 6, + 29, + 1, + 20 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 6, - 29, - 1, - 20 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis3/test.json b/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis3/test.json index 2e1d3c8f5..4d6b0ea5f 100644 --- a/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_6x29x25x20_bf16_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 6, + 29, + 25, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 6, - 29, - 25, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis0/test.json index 07ee29b44..9e9c1699d 100644 --- a/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 29, + 25, + 20 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1, - 29, - 25, - 20 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis1/test.json b/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis1/test.json index 558802c98..67e93d84e 100644 --- a/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis1/test.json +++ b/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 6, + 1, + 25, + 20 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 6, - 1, - 25, - 20 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis2/test.json b/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis2/test.json index 6c9494563..b76ead371 100644 --- a/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis2/test.json +++ b/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 6, + 29, + 1, + 20 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 6, - 29, - 1, - 20 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis3/test.json b/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis3/test.json index bd42dcd60..65b8b0934 100644 --- a/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis3/test.json +++ b/operators/reduction/reduce_max/reduce_max_6x29x25x20_i16_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 6, + 29, + 25, + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 6, - 29, - 25, - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisLargerRank_10_bf16_axis5/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisLargerRank_10_bf16_axis5/test.json index 135751031..14b129b1f 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisLargerRank_10_bf16_axis5/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisLargerRank_10_bf16_axis5/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 5 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 5 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisLargerRank_10_i16_axis5/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisLargerRank_10_i16_axis5/test.json index 3373ba359..0afc353fd 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisLargerRank_10_i16_axis5/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisLargerRank_10_i16_axis5/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 5 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 5 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisSmallerZero_11_f16_axis-4/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisSmallerZero_11_f16_axis-4/test.json index 12093f69c..fdef61c97 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisSmallerZero_11_f16_axis-4/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisSmallerZero_11_f16_axis-4/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: -4 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: -4 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json index 9ef345056..3651a8caa 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: -4 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: -4 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_10_f16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_10_f16_axis0/test.json index 9d66fab1d..710b83885 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_10_f16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_10_f16_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_10_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_10_i8_axis0/test.json index ba7f72d6d..2c56d4bbf 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_10_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_ShapeOfAxisNotOne_10_i8_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputList_10_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputList_10_f32_axis0/test.json index 0b4a92646..7b935c3c0 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputList_10_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputList_10_f32_axis0/test.json @@ -5,46 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "FP32" + } + ], inputs: [ - "input-0", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputList_10_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputList_10_i32_axis0/test.json index df822cf26..6b599f153 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputList_10_i32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputList_10_i32_axis0/test.json @@ -5,45 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, - inputs: [ + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/desc.json index 15cad4b15..992afc22b 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/desc.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/desc.json @@ -16,6 +16,7 @@ "expected_failure": true, "expected_failure_desc": "Input data type not supported for this operator", "profile": [ + "tosa-bi", "tosa-mi" ] }
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/input-0.json index 71fddee10..3c4a12908 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/input-0.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/input-0.json @@ -4,58 +4,58 @@ [ [ [ - -2, - -7, - -6, - 4, + 5, -1, + -4, + 2, + 2, -3, - -1 + -5 ], [ - -6, + -7, + -2, + 3, + 5, + -3, 2, - 6, - 6, - -4, - 6, -4 ], [ - 2, - -4, - 6, - 2, + -5, + 1, + -3, + -5, -4, - -2, - 1 + -3, + -3 ], [ - -7, + 0, 6, - 1, - 7, - 3, 7, + 1, + -4, + -5, 0 ], [ - 5, 3, + 0, -6, - 1, - 4, - 7, - -6 + 3, + -3, + 0, + 5 ], [ - 2, - 5, - -2, - -5, - 7, 4, - -2 + 0, + 5, + -4, + -3, + -3, + 5 ] ] ], @@ -63,521 +63,521 @@ [ [ 5, - -6, - -5, -4, - -7, - 4, - 4 + -5, + 5, + -1, + 2, + -5 ], [ + 1, + 3, -1, + 5, 1, - 6, + 1, + -4 + ], + [ + 3, + 0, + 2, + 2, -2, - -1, -2, - -7 + -3 ], [ - -6, -2, - 4, 5, - 6, - -3, - -5 - ], - [ - 2, - 1, + -2, -6, - 4, - 3, - -3, - -5 + 5, + -4, + -2 ], [ - 7, + -4, 1, - -3, - 3, + -4, 7, - 3, - -6 - ], - [ -1, -7, - -1, - 0, - 7, - -7, - 7 + 1 + ], + [ + -4, + -2, + 6, + -5, + 3, + 3, + -2 ] ] ], [ [ [ + -1, + -6, + 0, + 0, + 1, 4, - -3, - 3, - 4, - -7, - 6, - -6 + 6 ], [ - 1, -1, - -1, - 7, - -7, + 6, 5, - 5 + -3, + -3, + 1, + 0 ], [ -2, - -5, - -3, + -6, 4, - 3, - 2, - -3 - ], - [ - 6, - 3, - -7, - -7, - 3, + 0, + -5, 5, - 3 + 6 ], [ -5, - 5, - -2, - 3, - 3, + 0, + 2, + -4, -3, - -4 + -2, + -2 ], [ + 3, + -7, + 2, + 0, 4, 7, - 2, - -2, - -2, - 1, - 4 + -1 + ], + [ + -5, + -1, + -4, + 0, + -4, + -7, + 1 ] ] ], [ [ [ - 5, - 5, + -3, + -5, + -7, 7, - 0, - 6, + 5, 3, - 6 + -2 ], [ + 2, + 1, -7, - 3, - 7, - -6, - 7, - -4, - 0 + 6, + 0, + -1, + 5 ], [ 3, - -6, - 2, + 0, + 5, + 4, + 1, 3, - 2, - -3, - -6 + -5 ], [ - 2, - -4, - -5, - 2, - -3, + 6, + 6, + -2, + -7, + 5, 0, - 6 + -4 ], [ - 2, - -4, - -4, 7, 1, + -4, + 2, + 4, -1, - -7 + 3 ], [ - -2, - -7, - -3, + -6, -3, + -1, + -6, -5, - -7, - 6 + 1, + 0 ] ] ], [ [ [ - -1, - 0, - -3, - -1, + -2, + -7, + -2, 0, - -5, - -6 - ], - [ - -3, - -1, 7, - -5, - -5, - -1, - 6 + -2, + 0 ], [ + -7, -5, - 0, 2, - 7, - -5, - -1, - -7 + 0, + -3, + -2, + 1 ], [ - -2, - 7, - 2, - 3, - 2, - 4, + -1, + 6, + -4, + 5, + 6, + 0, -5 ], [ - -7, - 2, - 2, - -1, 0, - -6, - 6 + 6, + 0, + 2, + -2, + 1, + -3 ], [ + -4, -5, 3, + 6, -2, - -4, -7, + -1 + ], + [ + -2, + 2, -5, - 3 + 4, + -7, + -2, + -5 ] ] ], [ [ [ - -4, - 2, - 2, - -5, + 6, -1, + 6, + 1, + 4, + 6, + 5 + ], + [ + 3, + 4, + 5, + 3, + 1, 0, - 7 + -4 ], [ + 1, + 5, 5, + 0, + 0, 4, - -2, - -6, - -3, - 7, - -2 + 7 ], [ - 4, - -6, -7, + 3, -1, - 6, - 5, - 2 + -4, + -2, + 7, + -3 ], [ - -5, - -2, + 0, + 3, -4, - -7, + 5, -6, 5, - -7 - ], - [ - -4, - -2, - 0, - 6, - 7, - 7, - 4 + 3 ], [ + 5, -6, - 1, - 4, - -2, 5, - 2, - 2 + -3, + 5, + -2, + 3 ] ] ], [ [ [ - 2, - -3, + 7, + 4, + -6, -4, -6, - 5, - 5, - -6 + 7, + -3 ], [ - -5, + 0, + 1, -4, - 2, - -5, + -2, + -1, -7, - 2, - -7 + 5 ], [ - -7, - -7, - 7, - 7, - 2, + 6, + 3, -1, - 6 + -5, + -3, + -1, + -5 ], [ - -6, - -6, + 4, + -1, + 3, 0, + -5, + 2, + 4 + ], + [ + -1, + 3, + 7, -4, - 0, - 4, + 6, + -3, -7 ], [ + -1, 5, - 6, - -3, - 6, 3, -3, - 5 - ], - [ 7, - -3, - 4, - -2, - 1, - -1, - -7 + 7, + 7 ] ] ], [ [ [ - 4, - -7, - -2, - 2, + 1, + 3, + 0, + -1, + 0, -6, - -3, - 1 + -5 ], [ - -3, - -7, - 1, 1, - -7, - -3, - 1 + -1, + 0, + 6, + 3, + -6, + 7 ], [ - 3, - -4, + 5, -5, - -3, - 4, - -3, + 5, + -2, + -2, + 1, 6 ], [ - -7, - 4, - 7, - -3, - -3, + -2, + 1, + -5, + -6, 1, - 2 + -4, + -7 ], [ - 5, - 6, - 4, - -2, -7, + -2, + -4, + 7, 0, - -7 + 0, + -5 ], [ - 4, -6, - -6, - -1, - 1, + -3, + 5, + 2, -5, - 1 + -7, + -4 ] ] ], [ [ [ - 3, - -5, - 6, + -3, + 7, -5, - -7, - 6, - 4 + 4, + -2, + -3, + -4 ], [ - 4, - -7, + 2, + 3, 0, - -6, + 7, + 6, 4, - -1, - 6 + 1 ], [ - 7, - -3, - -3, - 7, 0, - 3, - 7 - ], - [ - -1, 2, - 4, - -2, + 1, + -5, 2, - -3, + -4, 4 ], [ - -3, - 0, - -6, - 5, - -6, -7, - 3 + -7, + 1, + 4, + 1, + -5, + -3 ], [ - -5, - 1, - 7, - -6, + -1, -4, + 7, -1, - 5 + 6, + -6, + -1 + ], + [ + 5, + -3, + 5, + 4, + 1, + -7, + 6 ] ] ], [ [ [ - -4, - 7, - -1, - 3, - 2, 0, - -6 - ], - [ - -1, + 2, 3, - -5, - -7, 0, - -7, - -3 + -5, + 1, + 1 ], [ - 5, - -4, - 3, - -6, -6, + -5, + -4, -2, - -7 + 1, + 2, + -6 ], [ - 3, 5, - -5, + 5, -6, - 1, - 4, - -5 - ], - [ - 2, - -3, + -5, 5, - 2, -1, + -1 + ], + [ 0, - 1 + 7, + -5, + 7, + -4, + 6, + 0 ], [ + 4, + -6, -2, -5, - 3, - 6, 1, - -2, - 6 + -7, + -2 + ], + [ + 0, + 0, + 5, + 2, + 5, + 0, + -2 ] ] ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/test.json index b7fc8784b..d59a933a2 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 6, + 7 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 6, + 7 + ], + type: "INT4" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 6, - 7 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 6, - 7 - ], - type: "INT4" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json index da69c3a96..086b272d0 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json @@ -5,47 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 4 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 4 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 4 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 4 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_8x11x10_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_8x11x10_f32_axis0/test.json index a7f8d97ed..783106c67 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_8x11x10_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputList_8x11x10_f32_axis0/test.json @@ -5,50 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8, + 11, + 10 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 11, + 10 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 8, - 11, - 10 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 11, - 10 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_12x15x10_f32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_12x15x10_f32_axis0/test.json index 69efd4abe..23741d399 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_12x15x10_f32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_12x15x10_f32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 15, + 10 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 15, + 10 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 15, - 10 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 15, - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_12x15x10_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_12x15x10_i32_axis0/test.json index 7649c0bf3..41b25be52 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_12x15x10_i32_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongOutputType_12x15x10_i32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 15, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 15, + 10 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 15, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 15, - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongRank_11x7x11x3x14_f16_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongRank_11x7x11x3x14_f16_axis0/test.json index e856e0087..0a8930192 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongRank_11x7x11x3x14_f16_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongRank_11x7x11x3x14_f16_axis0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3, + 14 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 7, + 11, + 3, + 14 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,36 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3, - 14 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 7, - 11, - 3, - 14 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongRank_11x7x11x3x14_i8_axis0/test.json b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongRank_11x7x11x3x14_i8_axis0/test.json index 7cadd0d02..7d509b7b2 100644 --- a/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongRank_11x7x11x3x14_i8_axis0/test.json +++ b/operators/reduction/reduce_max/reduce_max_ERRORIF_WrongRank_11x7x11x3x14_i8_axis0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MAX", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3, + 14 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 7, + 11, + 3, + 14 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,36 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3, - 14 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 7, - 11, - 3, - 14 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis0/test.json index ce908b1c0..98f6c671c 100644 --- a/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 19, + 13, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 19, + 13, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 19, - 13, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 19, - 13, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis1/test.json b/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis1/test.json index a149061af..1ca8130f7 100644 --- a/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 19, + 13, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 1, + 13, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 19, - 13, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 1, - 13, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis2/test.json b/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis2/test.json index 20abe83e1..b6f0fe4df 100644 --- a/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 19, + 13, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 19, + 1, + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 19, - 13, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 19, - 1, - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis3/test.json b/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis3/test.json index 1012aa29f..18ce071b9 100644 --- a/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_10x19x13x11_i32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 19, + 13, + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 19, + 13, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 19, - 13, - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 19, - 13, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/test.json index 237b46e50..c57eabdf8 100644 --- a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 10 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 10 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/test.json b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/test.json index e453eec6f..45fed0079 100644 --- a/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_11x10_i8_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 10 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 11, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis0/test.json index 6b5c5610d..696fe047b 100644 --- a/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 26, + 17, + 14 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 26, - 17, - 14 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis1/test.json b/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis1/test.json index 5112c5386..4abd6ffd8 100644 --- a/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 1, + 17, + 14 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 1, - 17, - 14 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis2/test.json b/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis2/test.json index e57d79fb9..a019cccc9 100644 --- a/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 26, + 1, + 14 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 26, - 1, - 14 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis3/test.json b/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis3/test.json index e93acf8d4..5f9cd0518 100644 --- a/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_13x26x17x14_f32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 26, + 17, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 13, + 26, + 17, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 26, - 17, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 13, - 26, - 17, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/test.json index d59ba1ad8..e7d123465 100644 --- a/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 14 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 14 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_14x14_f16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis1/test.json index 19ff4ac33..5ce56ecbb 100644 --- a/operators/reduction/reduce_min/reduce_min_14x14_f16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_14x14_f16_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 14, + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 14, - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_16_i32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_16_i32_axis0/test.json index f838d9d9f..e35c0a9ce 100644 --- a/operators/reduction/reduce_min/reduce_min_16_i32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_16_i32_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis0/test.json index 26cec58d8..3951824c2 100644 --- a/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 17, + 18, + 17 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 18, + 17 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 17, - 18, - 17 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1, - 18, - 17 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis1/test.json index 4fc8550f9..df4f2142a 100644 --- a/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 17, + 18, + 17 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 17, + 1, + 17 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 17, - 18, - 17 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 17, - 1, - 17 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis2/test.json b/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis2/test.json index 045f989de..cf4d1b435 100644 --- a/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_17x18x17_i16_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 17, + 18, + 17 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 17, + 18, + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 17, - 18, - 17 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 17, - 18, - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_17x5_i32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_17x5_i32_axis0/test.json index 0c19d1722..a390d947e 100644 --- a/operators/reduction/reduce_min/reduce_min_17x5_i32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_17x5_i32_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 17, + 5 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 5 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 17, - 5 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 5 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_17x5_i32_axis1/test.json b/operators/reduction/reduce_min/reduce_min_17x5_i32_axis1/test.json index 22df82c03..b837fb7ca 100644 --- a/operators/reduction/reduce_min/reduce_min_17x5_i32_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_17x5_i32_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 17, + 5 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 17, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 17, - 5 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 17, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_18_i16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_18_i16_axis0/test.json index 68899ba29..5fcedd03e 100644 --- a/operators/reduction/reduce_min/reduce_min_18_i16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_18_i16_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 18 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 18 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis0/test.json index adcb3d3a0..6e10dfd5f 100644 --- a/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 19, + 12, + 3 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 12, + 3 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 19, - 12, - 3 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 12, - 3 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis1/test.json b/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis1/test.json index a259a0052..610ea7104 100644 --- a/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 19, + 12, + 3 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 19, + 1, + 3 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 19, - 12, - 3 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 19, - 1, - 3 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis2/test.json b/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis2/test.json index cedf28008..6934d6a5d 100644 --- a/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_19x12x3_i32_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 19, + 12, + 3 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 19, + 12, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 19, - 12, - 3 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 19, - 12, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis0/test.json index 8d96267a9..a6e5c498e 100644 --- a/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65531, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65531, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65531, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65531, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis1/test.json b/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis1/test.json index 2c6a950eb..ce3a62daa 100644 --- a/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65531, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65531, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65531, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65531, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis2/test.json b/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis2/test.json index da55eb858..666a84260 100644 --- a/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65531, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65531, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis3/test.json b/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis3/test.json index 2accf00c7..d3b333fa6 100644 --- a/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x1x65531x1_f32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65531, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65531, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65531, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65531, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis0/test.json index 105de14c0..3c7bb4290 100644 --- a/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65538, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65538, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65538, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65538, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis1/test.json b/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis1/test.json index 664bee293..cd4e824f7 100644 --- a/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65538, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65538, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65538, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65538, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis2/test.json b/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis2/test.json index d70e5d046..766465a84 100644 --- a/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65538, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65538, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis3/test.json b/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis3/test.json index 291774f2f..56e022b08 100644 --- a/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x1x65538x1_i8_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65538, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65538, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65538, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65538, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis0/test.json index baf80abc5..6760beaec 100644 --- a/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 2, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 2, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 2, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 2, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis1/test.json b/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis1/test.json index c26333d1a..19fbe3fb3 100644 --- a/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 2, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 2, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 2, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 2, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis2/test.json b/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis2/test.json index ad7965e1b..671d4c35c 100644 --- a/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 2, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 1, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 2, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 1, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis3/test.json b/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis3/test.json index 183f4c2d4..d341eefe1 100644 --- a/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_1x65539x2x1_f32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65539, + 2, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 2, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65539, - 2, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 2, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis0/test.json index 9b92e9460..56cfcfd86 100644 --- a/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 11, + 12, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 11, + 12, + 9 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 11, - 12, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 11, - 12, - 9 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis1/test.json b/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis1/test.json index 6bbe33aa6..ce729b414 100644 --- a/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 11, + 12, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20, + 1, + 12, + 9 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 11, - 12, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20, - 1, - 12, - 9 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis2/test.json b/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis2/test.json index 03abbe649..20080ef7d 100644 --- a/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 11, + 12, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20, + 11, + 1, + 9 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 11, - 12, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20, - 11, - 1, - 9 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis3/test.json b/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis3/test.json index 372a414bd..32cc33193 100644 --- a/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_20x11x12x9_i8_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 11, + 12, + 9 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20, + 11, + 12, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 11, - 12, - 9 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 20, - 11, - 12, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/test.json index 1403227d0..e66fb15fd 100644 --- a/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 2 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 2 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 2 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1, - 2 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_20x2_i16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis1/test.json index 7d96a95dd..1eab6ec04 100644 --- a/operators/reduction/reduce_min/reduce_min_20x2_i16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_20x2_i16_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 20, + 2 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 20, + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 20, - 2 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 20, - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_21_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_21_f32_axis0/test.json index d82fb9df7..496217144 100644 --- a/operators/reduction/reduce_min/reduce_min_21_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_21_f32_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 21 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_22x7_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_22x7_f32_axis0/test.json index afeb20ae4..1b95b2908 100644 --- a/operators/reduction/reduce_min/reduce_min_22x7_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_22x7_f32_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 22, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 7 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 22, - 7 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 7 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_22x7_f32_axis1/test.json b/operators/reduction/reduce_min/reduce_min_22x7_f32_axis1/test.json index fd5ee18dd..84bb5148f 100644 --- a/operators/reduction/reduce_min/reduce_min_22x7_f32_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_22x7_f32_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 22, + 7 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 22, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 22, - 7 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 22, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis0/test.json index 8d63bdaed..65ff611ff 100644 --- a/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 24, + 23 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 24, - 23 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis1/test.json index 162e5d330..e2c0db3c1 100644 --- a/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 23, + 1, + 23 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 23, - 1, - 23 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis2/test.json b/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis2/test.json index 054112883..7c6c6c103 100644 --- a/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_23x24x23_bf16_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 24, + 23 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 23, + 24, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 24, - 23 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 23, - 24, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_24_bf16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_24_bf16_axis0/test.json index 293f13ca3..a8bb0aa69 100644 --- a/operators/reduction/reduce_min/reduce_min_24_bf16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_24_bf16_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis0/test.json index c704c7c58..9769a2b92 100644 --- a/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 16, + 4 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 16, - 4 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis1/test.json b/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis1/test.json index 638d4caf3..e79dd6f8d 100644 --- a/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 25, + 1, + 4 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 25, - 1, - 4 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis2/test.json b/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis2/test.json index 6e948acd5..2035ca825 100644 --- a/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_25x16x4_f32_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 16, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 25, + 16, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 16, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 25, - 16, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis0/test.json index b318ddcba..521cbad24 100644 --- a/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 14, + 16, + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 14, - 16, - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis1/test.json index 38d2a5b7a..3ceff3b85 100644 --- a/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 27, + 1, + 16, + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 27, - 1, - 16, - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis2/test.json b/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis2/test.json index c6454a2bc..502677d6f 100644 --- a/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 27, + 14, + 1, + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 27, - 14, - 1, - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis3/test.json b/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis3/test.json index b212d7e65..0d84c60d2 100644 --- a/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_27x14x16x12_f16_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 14, + 16, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 27, + 14, + 16, + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 14, - 16, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 27, - 14, - 16, - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis0/test.json index f9e57e1cf..de79a3781 100644 --- a/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 3 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 3 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 3 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 3 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/test.json index 85a66feb8..578e2ca26 100644 --- a/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_27x3_bf16_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 27, + 3 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 27, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 27, - 3 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 27, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis0/test.json index 0b8a8a58f..249e6511e 100644 --- a/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65535, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 65535, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65535, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 65535, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis1/test.json b/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis1/test.json index 0d1d964d4..89c0aa458 100644 --- a/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65535, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 1, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65535, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 1, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis2/test.json b/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis2/test.json index 6fb561d70..a87321d8f 100644 --- a/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65535, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 65535, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65535, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 65535, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis3/test.json b/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis3/test.json index 975107d66..7beaf8238 100644 --- a/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_2x65535x1x1_i8_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2, + 65535, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 65535, + 1, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2, - 65535, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 65535, - 1, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_3_f16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_3_f16_axis0/test.json index 95aeccf27..2749182fb 100644 --- a/operators/reduction/reduce_min/reduce_min_3_f16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_3_f16_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_3_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_3_i8_axis0/test.json index 7011bcba6..b072870c0 100644 --- a/operators/reduction/reduce_min/reduce_min_3_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_3_i8_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis0/test.json index 290ac265d..0d1905207 100644 --- a/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 13, + 23 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 13, + 23 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 13, - 23 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 13, - 23 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis1/test.json b/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis1/test.json index b46b601ed..030b13376 100644 --- a/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 13, + 23 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 23 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 13, - 23 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 23 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis2/test.json b/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis2/test.json index 51cbf9ddf..7e2e7b2b1 100644 --- a/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_3x13x23_i8_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 13, + 23 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 3, + 13, + 1 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 13, - 23 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 3, - 13, - 1 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis0/test.json index 1c34c28cc..da1824e71 100644 --- a/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 17, + 31 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 17, - 31 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis1/test.json index 11cfce729..33a5fb12b 100644 --- a/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 31 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 31 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis2/test.json b/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis2/test.json index e6767b332..e2a1b6df1 100644 --- a/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_3x17x31_f16_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 17, + 31 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 3, + 17, + 1 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 17, - 31 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 3, - 17, - 1 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis0/test.json index 6e7c5b367..62b560f7b 100644 --- a/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 22, + 18, + 15 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 22, + 18, + 15 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 22, - 18, - 15 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1, - 22, - 18, - 15 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis1/test.json index 9bdd063fa..619588b0b 100644 --- a/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 22, + 18, + 15 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 5, + 1, + 18, + 15 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 22, - 18, - 15 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 5, - 1, - 18, - 15 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis2/test.json b/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis2/test.json index 61eae0000..21359d1dc 100644 --- a/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 22, + 18, + 15 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 5, + 22, + 1, + 15 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 22, - 18, - 15 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 5, - 22, - 1, - 15 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis3/test.json b/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis3/test.json index e5c20ae40..3019962ef 100644 --- a/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_5x22x18x15_i16_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 22, + 18, + 15 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 5, + 22, + 18, + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 22, - 18, - 15 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 5, - 22, - 18, - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis0/test.json index c02fd6c8c..a520fb9bc 100644 --- a/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 29, + 25, + 20 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 29, - 25, - 20 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis1/test.json b/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis1/test.json index 2f3ec364c..d23040fb5 100644 --- a/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis1/test.json +++ b/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 6, + 1, + 25, + 20 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 6, - 1, - 25, - 20 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis2/test.json b/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis2/test.json index 15dcbfefb..4da524106 100644 --- a/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis2/test.json +++ b/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 6, + 29, + 1, + 20 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 6, - 29, - 1, - 20 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis3/test.json b/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis3/test.json index d2327fbf2..9d8f7ad42 100644 --- a/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis3/test.json +++ b/operators/reduction/reduce_min/reduce_min_6x29x25x20_bf16_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 29, + 25, + 20 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 6, + 29, + 25, + 1 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 29, - 25, - 20 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 6, - 29, - 25, - 1 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_10_bf16_axis5/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_10_bf16_axis5/test.json index 87113ebd4..506557b0e 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_10_bf16_axis5/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_10_bf16_axis5/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 5 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 5 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_10_i16_axis5/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_10_i16_axis5/test.json index 23097c286..e6ab94598 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_10_i16_axis5/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisLargerRank_10_i16_axis5/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 5 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 5 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_f16_axis-4/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_f16_axis-4/test.json index 3c126c456..047f45494 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_f16_axis-4/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_f16_axis-4/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: -4 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: -4 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json index c05e41590..0f7ff91e4 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_AxisSmallerZero_11_i8_axis-4/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: -4 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: -4 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_ShapeOfAxisNotOne_10_f16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_ShapeOfAxisNotOne_10_f16_axis0/test.json index f95341a9b..56a68ed18 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_ShapeOfAxisNotOne_10_f16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_ShapeOfAxisNotOne_10_f16_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_ShapeOfAxisNotOne_10_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_ShapeOfAxisNotOne_10_i8_axis0/test.json index 99ec80179..00cb2b752 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_ShapeOfAxisNotOne_10_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_ShapeOfAxisNotOne_10_i8_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_10_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_10_f32_axis0/test.json index edbb68ea6..e17e9c3cb 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_10_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_10_f32_axis0/test.json @@ -5,46 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "FP32" + } + ], inputs: [ - "input-0", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_10_i32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_10_i32_axis0/test.json index 905ce493d..fef5531eb 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_10_i32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputList_10_i32_axis0/test.json @@ -5,45 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, - inputs: [ + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/desc.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/desc.json index 15cad4b15..992afc22b 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/desc.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/desc.json @@ -16,6 +16,7 @@ "expected_failure": true, "expected_failure_desc": "Input data type not supported for this operator", "profile": [ + "tosa-bi", "tosa-mi" ] }
\ No newline at end of file diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/input-0.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/input-0.json index 71fddee10..3c4a12908 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/input-0.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/input-0.json @@ -4,58 +4,58 @@ [ [ [ - -2, - -7, - -6, - 4, + 5, -1, + -4, + 2, + 2, -3, - -1 + -5 ], [ - -6, + -7, + -2, + 3, + 5, + -3, 2, - 6, - 6, - -4, - 6, -4 ], [ - 2, - -4, - 6, - 2, + -5, + 1, + -3, + -5, -4, - -2, - 1 + -3, + -3 ], [ - -7, + 0, 6, - 1, - 7, - 3, 7, + 1, + -4, + -5, 0 ], [ - 5, 3, + 0, -6, - 1, - 4, - 7, - -6 + 3, + -3, + 0, + 5 ], [ - 2, - 5, - -2, - -5, - 7, 4, - -2 + 0, + 5, + -4, + -3, + -3, + 5 ] ] ], @@ -63,521 +63,521 @@ [ [ 5, - -6, - -5, -4, - -7, - 4, - 4 + -5, + 5, + -1, + 2, + -5 ], [ + 1, + 3, -1, + 5, 1, - 6, + 1, + -4 + ], + [ + 3, + 0, + 2, + 2, -2, - -1, -2, - -7 + -3 ], [ - -6, -2, - 4, 5, - 6, - -3, - -5 - ], - [ - 2, - 1, + -2, -6, - 4, - 3, - -3, - -5 + 5, + -4, + -2 ], [ - 7, + -4, 1, - -3, - 3, + -4, 7, - 3, - -6 - ], - [ -1, -7, - -1, - 0, - 7, - -7, - 7 + 1 + ], + [ + -4, + -2, + 6, + -5, + 3, + 3, + -2 ] ] ], [ [ [ + -1, + -6, + 0, + 0, + 1, 4, - -3, - 3, - 4, - -7, - 6, - -6 + 6 ], [ - 1, -1, - -1, - 7, - -7, + 6, 5, - 5 + -3, + -3, + 1, + 0 ], [ -2, - -5, - -3, + -6, 4, - 3, - 2, - -3 - ], - [ - 6, - 3, - -7, - -7, - 3, + 0, + -5, 5, - 3 + 6 ], [ -5, - 5, - -2, - 3, - 3, + 0, + 2, + -4, -3, - -4 + -2, + -2 ], [ + 3, + -7, + 2, + 0, 4, 7, - 2, - -2, - -2, - 1, - 4 + -1 + ], + [ + -5, + -1, + -4, + 0, + -4, + -7, + 1 ] ] ], [ [ [ - 5, - 5, + -3, + -5, + -7, 7, - 0, - 6, + 5, 3, - 6 + -2 ], [ + 2, + 1, -7, - 3, - 7, - -6, - 7, - -4, - 0 + 6, + 0, + -1, + 5 ], [ 3, - -6, - 2, + 0, + 5, + 4, + 1, 3, - 2, - -3, - -6 + -5 ], [ - 2, - -4, - -5, - 2, - -3, + 6, + 6, + -2, + -7, + 5, 0, - 6 + -4 ], [ - 2, - -4, - -4, 7, 1, + -4, + 2, + 4, -1, - -7 + 3 ], [ - -2, - -7, - -3, + -6, -3, + -1, + -6, -5, - -7, - 6 + 1, + 0 ] ] ], [ [ [ - -1, - 0, - -3, - -1, + -2, + -7, + -2, 0, - -5, - -6 - ], - [ - -3, - -1, 7, - -5, - -5, - -1, - 6 + -2, + 0 ], [ + -7, -5, - 0, 2, - 7, - -5, - -1, - -7 + 0, + -3, + -2, + 1 ], [ - -2, - 7, - 2, - 3, - 2, - 4, + -1, + 6, + -4, + 5, + 6, + 0, -5 ], [ - -7, - 2, - 2, - -1, 0, - -6, - 6 + 6, + 0, + 2, + -2, + 1, + -3 ], [ + -4, -5, 3, + 6, -2, - -4, -7, + -1 + ], + [ + -2, + 2, -5, - 3 + 4, + -7, + -2, + -5 ] ] ], [ [ [ - -4, - 2, - 2, - -5, + 6, -1, + 6, + 1, + 4, + 6, + 5 + ], + [ + 3, + 4, + 5, + 3, + 1, 0, - 7 + -4 ], [ + 1, + 5, 5, + 0, + 0, 4, - -2, - -6, - -3, - 7, - -2 + 7 ], [ - 4, - -6, -7, + 3, -1, - 6, - 5, - 2 + -4, + -2, + 7, + -3 ], [ - -5, - -2, + 0, + 3, -4, - -7, + 5, -6, 5, - -7 - ], - [ - -4, - -2, - 0, - 6, - 7, - 7, - 4 + 3 ], [ + 5, -6, - 1, - 4, - -2, 5, - 2, - 2 + -3, + 5, + -2, + 3 ] ] ], [ [ [ - 2, - -3, + 7, + 4, + -6, -4, -6, - 5, - 5, - -6 + 7, + -3 ], [ - -5, + 0, + 1, -4, - 2, - -5, + -2, + -1, -7, - 2, - -7 + 5 ], [ - -7, - -7, - 7, - 7, - 2, + 6, + 3, -1, - 6 + -5, + -3, + -1, + -5 ], [ - -6, - -6, + 4, + -1, + 3, 0, + -5, + 2, + 4 + ], + [ + -1, + 3, + 7, -4, - 0, - 4, + 6, + -3, -7 ], [ + -1, 5, - 6, - -3, - 6, 3, -3, - 5 - ], - [ 7, - -3, - 4, - -2, - 1, - -1, - -7 + 7, + 7 ] ] ], [ [ [ - 4, - -7, - -2, - 2, + 1, + 3, + 0, + -1, + 0, -6, - -3, - 1 + -5 ], [ - -3, - -7, - 1, 1, - -7, - -3, - 1 + -1, + 0, + 6, + 3, + -6, + 7 ], [ - 3, - -4, + 5, -5, - -3, - 4, - -3, + 5, + -2, + -2, + 1, 6 ], [ - -7, - 4, - 7, - -3, - -3, + -2, + 1, + -5, + -6, 1, - 2 + -4, + -7 ], [ - 5, - 6, - 4, - -2, -7, + -2, + -4, + 7, 0, - -7 + 0, + -5 ], [ - 4, -6, - -6, - -1, - 1, + -3, + 5, + 2, -5, - 1 + -7, + -4 ] ] ], [ [ [ - 3, - -5, - 6, + -3, + 7, -5, - -7, - 6, - 4 + 4, + -2, + -3, + -4 ], [ - 4, - -7, + 2, + 3, 0, - -6, + 7, + 6, 4, - -1, - 6 + 1 ], [ - 7, - -3, - -3, - 7, 0, - 3, - 7 - ], - [ - -1, 2, - 4, - -2, + 1, + -5, 2, - -3, + -4, 4 ], [ - -3, - 0, - -6, - 5, - -6, -7, - 3 + -7, + 1, + 4, + 1, + -5, + -3 ], [ - -5, - 1, - 7, - -6, + -1, -4, + 7, -1, - 5 + 6, + -6, + -1 + ], + [ + 5, + -3, + 5, + 4, + 1, + -7, + 6 ] ] ], [ [ [ - -4, - 7, - -1, - 3, - 2, 0, - -6 - ], - [ - -1, + 2, 3, - -5, - -7, 0, - -7, - -3 + -5, + 1, + 1 ], [ - 5, - -4, - 3, - -6, -6, + -5, + -4, -2, - -7 + 1, + 2, + -6 ], [ - 3, 5, - -5, + 5, -6, - 1, - 4, - -5 - ], - [ - 2, - -3, + -5, 5, - 2, -1, + -1 + ], + [ 0, - 1 + 7, + -5, + 7, + -4, + 6, + 0 ], [ + 4, + -6, -2, -5, - 3, - 6, 1, - -2, - 6 + -7, + -2 + ], + [ + 0, + 0, + 5, + 2, + 5, + 0, + -2 ] ] ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/test.json index 04c37ce54..00f7f8014 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongInputType_10x1x6x7_i4_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 6, + 7 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 6, + 7 + ], + type: "INT4" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 1, - 6, - 7 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 6, - 7 - ], - type: "INT4" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json index a916ec91f..94c1842b8 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_11x4_i8_axis0/test.json @@ -5,47 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 4 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 4 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 4 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 4 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_8x11x10_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_8x11x10_f32_axis0/test.json index 866b6c948..8d8851735 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_8x11x10_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputList_8x11x10_f32_axis0/test.json @@ -5,50 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 8, + 11, + 10 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 11, + 10 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 8, - 11, - 10 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 11, - 10 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputType_12x15x10_f32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputType_12x15x10_f32_axis0/test.json index 91d23cb6d..6443fa384 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputType_12x15x10_f32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputType_12x15x10_f32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 15, + 10 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 15, + 10 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 15, - 10 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 15, - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputType_12x15x10_i32_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputType_12x15x10_i32_axis0/test.json index 013d5a155..214cdd036 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputType_12x15x10_i32_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongOutputType_12x15x10_i32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 15, + 10 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 15, + 10 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 15, - 10 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 15, - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongRank_11x7x11x3x14_f16_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongRank_11x7x11x3x14_f16_axis0/test.json index b66f106e2..e61f5ddba 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongRank_11x7x11x3x14_f16_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongRank_11x7x11x3x14_f16_axis0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3, + 14 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1, + 7, + 11, + 3, + 14 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -22,36 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3, - 14 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1, - 7, - 11, - 3, - 14 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongRank_11x7x11x3x14_i8_axis0/test.json b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongRank_11x7x11x3x14_i8_axis0/test.json index 6f175dd91..eabf9c07e 100644 --- a/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongRank_11x7x11x3x14_i8_axis0/test.json +++ b/operators/reduction/reduce_min/reduce_min_ERRORIF_WrongRank_11x7x11x3x14_i8_axis0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_MIN", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_MIN", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 11, + 3, + 14 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 7, + 11, + 3, + 14 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -22,36 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 11, - 3, - 14 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 7, - 11, - 3, - 14 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis0/test.json index 32cb19099..13eb1bc3a 100644 --- a/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis0/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 14, + 27 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 14, - 27 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis1/test.json b/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis1/test.json index 643ca13aa..d8fb24f83 100644 --- a/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis1/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis1/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 14, + 1, + 27 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 14, - 1, - 27 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis2/test.json b/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis2/test.json index fc30bf4b8..a848e4cf3 100644 --- a/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis2/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_14x14x27_i32_axis2/test.json @@ -5,16 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 14, + 27 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 14, + 14, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,32 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 14, - 27 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 14, - 14, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis0/test.json index 510c27772..a147c8e57 100644 --- a/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis0/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 21 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 21 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 21 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 21 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/test.json b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/test.json index f2d8d46fa..de9e70339 100644 --- a/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_24x21_i32_axis1/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 21 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 24, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 21 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 24, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_3_i32_axis0/test.json index 8390b173e..e1bccc131 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3_i32_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis0/test.json index 6b4b4a386..28eaa9a36 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 22, + 7, + 3 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 22, - 7, - 3 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis1/test.json b/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis1/test.json index d44f36b01..6c9546217 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis1/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 7, + 3 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 7, - 3 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis2/test.json b/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis2/test.json index 92b1d3f3d..a31ef5b66 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis2/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 3, + 22, + 1, + 3 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 3, - 22, - 1, - 3 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis3/test.json b/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis3/test.json index ed3f4200b..aeff8d70a 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis3/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3x22x7x3_i32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 7, + 3 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 3, + 22, + 7, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 7, - 3 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 3, - 22, - 7, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis0/test.json index 35d4fd7d9..2decbd566 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 65532, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 65532, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 65532, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 65532, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis1/test.json b/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis1/test.json index d1e2ef146..21dc91c5c 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis1/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 65532, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 3, + 1, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 65532, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 3, - 1, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis2/test.json b/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis2/test.json index 360699dec..74cd0ea31 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis2/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 65532, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 3, + 65532, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 65532, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 3, - 65532, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis3/test.json b/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis3/test.json index 43f7af1d2..3ffe1573f 100644 --- a/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis3/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_3x65532x1x1_i32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 65532, + 1, + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 3, + 65532, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 65532, - 1, - 1 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 3, - 65532, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis0/test.json index 396793aff..3d5fff18d 100644 --- a/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65536, + 1, + 1, + 2 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65536, - 1, - 1, - 2 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis1/test.json b/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis1/test.json index de9f10412..df4fbb943 100644 --- a/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis1/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis1/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 1 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 1 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65536, + 1, + 1, + 2 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 65536, + 1, + 1, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65536, - 1, - 1, - 2 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 65536, - 1, - 1, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis2/test.json b/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis2/test.json index 8503b17c7..909ab3f32 100644 --- a/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis2/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis2/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 2 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65536, + 1, + 1, + 2 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 65536, + 1, + 1, + 2 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65536, - 1, - 1, - 2 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 65536, - 1, - 1, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis3/test.json b/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis3/test.json index ab9b53089..3c2756db8 100644 --- a/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis3/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_65536x1x1x2_i32_axis3/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 3 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 3 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65536, + 1, + 1, + 2 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 65536, + 1, + 1, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65536, - 1, - 1, - 2 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 65536, - 1, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_AxisLargerRank_10x7_i32_axis6/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_AxisLargerRank_10x7_i32_axis6/test.json index 0ce216468..d0378a4e0 100644 --- a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_AxisLargerRank_10x7_i32_axis6/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_AxisLargerRank_10x7_i32_axis6/test.json @@ -5,16 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 6 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 6 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 10, + 7 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,30 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_AxisSmallerZero_11_i32_axis-2/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_AxisSmallerZero_11_i32_axis-2/test.json index e3d3c8d5b..cc0b14baf 100644 --- a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_AxisSmallerZero_11_i32_axis-2/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_AxisSmallerZero_11_i32_axis-2/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: -2 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: -2 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_i32_axis0/test.json index 1e4cca7f9..cad60d333 100644 --- a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_ShapeOfAxisNotOne_14x1x13x13_i32_axis0/test.json @@ -5,16 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 1, + 13, + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 14, + 1, + 13, + 13 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,34 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 1, - 13, - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 14, - 1, - 13, - 13 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongInputList_11x5x12x9_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongInputList_11x5x12x9_i32_axis0/test.json index ed265e450..5b1cabd71 100644 --- a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongInputList_11x5x12x9_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongInputList_11x5x12x9_i32_axis0/test.json @@ -5,52 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 5, + 12, + 9 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 5, + 12, + 9 + ], + type: "INT32" + } + ], inputs: [ - "input-0", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 5, - 12, - 9 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 5, - 12, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongInputType_10_i4_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongInputType_10_i4_axis0/test.json index 17746bbee..78cd914e9 100644 --- a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongInputType_10_i4_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongInputType_10_i4_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT4" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT4" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/test.json index 7d31e3649..5b97fd532 100644 --- a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputList_1x3x4_i32_axis0/test.json @@ -5,49 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 3, + 4 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 3, + 4 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 3, - 4 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 3, - 4 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputType_12_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputType_12_i32_axis0/test.json index 6fcbf59f0..8e0a5b094 100644 --- a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputType_12_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongOutputType_12_i32_axis0/test.json @@ -5,16 +5,43 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -22,28 +49,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongRank_10x3x13x3x13_i32_axis0/test.json b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongRank_10x3x13x3x13_i32_axis0/test.json index 9d4b6da51..2f77a8ae1 100644 --- a/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongRank_10x3x13x3x13_i32_axis0/test.json +++ b/operators/reduction/reduce_sum/reduce_sum_ERRORIF_WrongRank_10x3x13x3x13_i32_axis0/test.json @@ -5,16 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "REDUCE_SUM", - attribute_type: "AxisAttribute", - attribute: { - axis: 0 - }, + name: "main", + operators: [ + { + op: "REDUCE_SUM", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 3, + 13, + 3, + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 3, + 13, + 3, + 13 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -22,36 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 3, - 13, - 3, - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 3, - 13, - 3, - 13 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |