diff options
Diffstat (limited to 'operators/data_layout/reshape')
55 files changed, 2301 insertions, 2026 deletions
diff --git a/operators/data_layout/reshape/reshape_10x16x60x35_i32_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_10x16x60x35_i32_perm0_rank2/test.json index c7f109531..39c6abddc 100644 --- a/operators/data_layout/reshape/reshape_10x16x60x35_i32_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_10x16x60x35_i32_perm0_rank2/test.json @@ -5,19 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 420, - 800 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 420, + 800 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 16, + 60, + 35 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 420, + 800 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -25,32 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 16, - 60, - 35 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 420, - 800 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_10x16x60x35_i32_perm1_rank1/test.json b/operators/data_layout/reshape/reshape_10x16x60x35_i32_perm1_rank1/test.json index 30ee22716..c832591f7 100644 --- a/operators/data_layout/reshape/reshape_10x16x60x35_i32_perm1_rank1/test.json +++ b/operators/data_layout/reshape/reshape_10x16x60x35_i32_perm1_rank1/test.json @@ -5,18 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 336000 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 336000 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 16, + 60, + 35 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 336000 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -24,31 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 16, - 60, - 35 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 336000 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_11x37x35_i16_perm0_rank3/test.json b/operators/data_layout/reshape/reshape_11x37x35_i16_perm0_rank3/test.json index 01caa1e60..d1b704939 100644 --- a/operators/data_layout/reshape/reshape_11x37x35_i16_perm0_rank3/test.json +++ b/operators/data_layout/reshape/reshape_11x37x35_i16_perm0_rank3/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 5, - 11, - 259 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 5, + 11, + 259 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 37, + 35 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 5, + 11, + 259 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 37, - 35 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 5, - 11, - 259 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_11x37x35_i16_perm1_rank4/test.json b/operators/data_layout/reshape/reshape_11x37x35_i16_perm1_rank4/test.json index f2dda8fa1..8a6f47af1 100644 --- a/operators/data_layout/reshape/reshape_11x37x35_i16_perm1_rank4/test.json +++ b/operators/data_layout/reshape/reshape_11x37x35_i16_perm1_rank4/test.json @@ -5,21 +5,53 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 35, - 11, - 1, - 37 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 35, + 11, + 1, + 37 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 37, + 35 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 35, + 11, + 1, + 37 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -27,33 +59,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 37, - 35 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 35, - 11, - 1, - 37 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_16x40x39x12_f16_perm0_rank4/test.json b/operators/data_layout/reshape/reshape_16x40x39x12_f16_perm0_rank4/test.json index 16254cc78..fcbce3ef5 100644 --- a/operators/data_layout/reshape/reshape_16x40x39x12_f16_perm0_rank4/test.json +++ b/operators/data_layout/reshape/reshape_16x40x39x12_f16_perm0_rank4/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 18, - 52, - 10, - 32 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 18, + 52, + 10, + 32 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16, + 40, + 39, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 18, + 52, + 10, + 32 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16, - 40, - 39, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 18, - 52, - 10, - 32 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_16x40x39x12_f16_perm1_rank6/test.json b/operators/data_layout/reshape/reshape_16x40x39x12_f16_perm1_rank6/test.json index e01353baf..89d4b6cdc 100644 --- a/operators/data_layout/reshape/reshape_16x40x39x12_f16_perm1_rank6/test.json +++ b/operators/data_layout/reshape/reshape_16x40x39x12_f16_perm1_rank6/test.json @@ -5,23 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 6, - 104, - 4, - 10, - 1, - 12 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 6, + 104, + 4, + 10, + 1, + 12 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16, + 40, + 39, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 6, + 104, + 4, + 10, + 1, + 12 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -29,36 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16, - 40, - 39, - 12 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 6, - 104, - 4, - 10, - 1, - 12 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_19x13x31x63_b_perm0_rank4/test.json b/operators/data_layout/reshape/reshape_19x13x31x63_b_perm0_rank4/test.json index 430023a73..3dffc6f14 100644 --- a/operators/data_layout/reshape/reshape_19x13x31x63_b_perm0_rank4/test.json +++ b/operators/data_layout/reshape/reshape_19x13x31x63_b_perm0_rank4/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 403, - 1, - 21, - 57 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 403, + 1, + 21, + 57 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 19, + 13, + 31, + 63 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 403, + 1, + 21, + 57 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 19, - 13, - 31, - 63 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 403, - 1, - 21, - 57 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_19x13x31x63_b_perm1_rank6/test.json b/operators/data_layout/reshape/reshape_19x13x31x63_b_perm1_rank6/test.json index 23a3ef979..0c6d5e369 100644 --- a/operators/data_layout/reshape/reshape_19x13x31x63_b_perm1_rank6/test.json +++ b/operators/data_layout/reshape/reshape_19x13x31x63_b_perm1_rank6/test.json @@ -5,23 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 279, - 7, - 13, - 1, - 1, - 19 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 279, + 7, + 13, + 1, + 1, + 19 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 19, + 13, + 31, + 63 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 279, + 7, + 13, + 1, + 1, + 19 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -29,36 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 19, - 13, - 31, - 63 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 279, - 7, - 13, - 1, - 1, - 19 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/test.json index 58ceaa952..c078ef53b 100644 --- a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/test.json +++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/test.json @@ -5,18 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 19 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 19 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 19 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 19 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -24,29 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 19 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 19 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x1x65535x1_i8_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_1x1x65535x1_i8_perm0_rank1/test.json index 4c38802c3..7fffdd46d 100644 --- a/operators/data_layout/reshape/reshape_1x1x65535x1_i8_perm0_rank1/test.json +++ b/operators/data_layout/reshape/reshape_1x1x65535x1_i8_perm0_rank1/test.json @@ -5,18 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 65535 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 65535 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 65535 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -24,31 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 65535 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x1x65535x1_i8_perm1_rank2/test.json b/operators/data_layout/reshape/reshape_1x1x65535x1_i8_perm1_rank2/test.json index 8ca402d36..9fc034a0a 100644 --- a/operators/data_layout/reshape/reshape_1x1x65535x1_i8_perm1_rank2/test.json +++ b/operators/data_layout/reshape/reshape_1x1x65535x1_i8_perm1_rank2/test.json @@ -5,19 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 5, - 13107 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 5, + 13107 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65535, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 5, + 13107 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -25,32 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65535, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 5, - 13107 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x1x65536x1_f32_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_1x1x65536x1_f32_perm0_rank1/test.json index 7bc6dcf19..d3f0746e9 100644 --- a/operators/data_layout/reshape/reshape_1x1x65536x1_f32_perm0_rank1/test.json +++ b/operators/data_layout/reshape/reshape_1x1x65536x1_f32_perm0_rank1/test.json @@ -5,18 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 65536 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 65536 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65536, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 65536 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -24,31 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65536, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 65536 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x1x65536x1_f32_perm1_rank5/test.json b/operators/data_layout/reshape/reshape_1x1x65536x1_f32_perm1_rank5/test.json index 4de725e99..697711b83 100644 --- a/operators/data_layout/reshape/reshape_1x1x65536x1_f32_perm1_rank5/test.json +++ b/operators/data_layout/reshape/reshape_1x1x65536x1_f32_perm1_rank5/test.json @@ -5,22 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 16, - 64, - 2, - 2, - 16 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 16, + 64, + 2, + 2, + 16 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65536, + 1 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 16, + 64, + 2, + 2, + 16 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -28,35 +62,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65536, - 1 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 16, - 64, - 2, - 2, - 16 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x65535x1x2_f32_perm0_rank5/test.json b/operators/data_layout/reshape/reshape_1x65535x1x2_f32_perm0_rank5/test.json index 2149b8c76..0bd01c169 100644 --- a/operators/data_layout/reshape/reshape_1x65535x1x2_f32_perm0_rank5/test.json +++ b/operators/data_layout/reshape/reshape_1x65535x1x2_f32_perm0_rank5/test.json @@ -5,22 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 15, - 1, - 1, - 34, - 257 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 15, + 1, + 1, + 34, + 257 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65535, + 1, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 15, + 1, + 1, + 34, + 257 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -28,35 +62,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65535, - 1, - 2 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 15, - 1, - 1, - 34, - 257 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x65535x1x2_f32_perm1_rank3/test.json b/operators/data_layout/reshape/reshape_1x65535x1x2_f32_perm1_rank3/test.json index 37fa9d34a..3b0620bba 100644 --- a/operators/data_layout/reshape/reshape_1x65535x1x2_f32_perm1_rank3/test.json +++ b/operators/data_layout/reshape/reshape_1x65535x1x2_f32_perm1_rank3/test.json @@ -5,20 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 257, - 3, - 170 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 257, + 3, + 170 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65535, + 1, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 257, + 3, + 170 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -26,33 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65535, - 1, - 2 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 257, - 3, - 170 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x65538x1x2_i8_perm0_rank3/test.json b/operators/data_layout/reshape/reshape_1x65538x1x2_i8_perm0_rank3/test.json index 964e6a780..c8ff994b6 100644 --- a/operators/data_layout/reshape/reshape_1x65538x1x2_i8_perm0_rank3/test.json +++ b/operators/data_layout/reshape/reshape_1x65538x1x2_i8_perm0_rank3/test.json @@ -5,20 +5,52 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 198, - 1, - 662 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 198, + 1, + 662 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65538, + 1, + 2 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 198, + 1, + 662 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -26,33 +58,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65538, - 1, - 2 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 198, - 1, - 662 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_1x65538x1x2_i8_perm1_rank1/test.json b/operators/data_layout/reshape/reshape_1x65538x1x2_i8_perm1_rank1/test.json index 2718fc328..6c5fd3bb8 100644 --- a/operators/data_layout/reshape/reshape_1x65538x1x2_i8_perm1_rank1/test.json +++ b/operators/data_layout/reshape/reshape_1x65538x1x2_i8_perm1_rank1/test.json @@ -5,18 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 131076 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 131076 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65538, + 1, + 2 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 131076 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -24,31 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65538, - 1, - 2 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 131076 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_23x10x13_b_perm0_rank5/test.json b/operators/data_layout/reshape/reshape_23x10x13_b_perm0_rank5/test.json index 076b40306..351705743 100644 --- a/operators/data_layout/reshape/reshape_23x10x13_b_perm0_rank5/test.json +++ b/operators/data_layout/reshape/reshape_23x10x13_b_perm0_rank5/test.json @@ -5,22 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 46, - 1, - 5, - 1, - 13 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 46, + 1, + 5, + 1, + 13 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 10, + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 46, + 1, + 5, + 1, + 13 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -28,34 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 10, - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 46, - 1, - 5, - 1, - 13 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_23x10x13_b_perm1_rank3/test.json b/operators/data_layout/reshape/reshape_23x10x13_b_perm1_rank3/test.json index 006c194e0..91c67ef01 100644 --- a/operators/data_layout/reshape/reshape_23x10x13_b_perm1_rank3/test.json +++ b/operators/data_layout/reshape/reshape_23x10x13_b_perm1_rank3/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 1, - 2990 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 1, + 2990 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 10, + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 2990 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 10, - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 2990 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_28_bf16_perm0_rank3/test.json b/operators/data_layout/reshape/reshape_28_bf16_perm0_rank3/test.json index 43621168b..d994fd365 100644 --- a/operators/data_layout/reshape/reshape_28_bf16_perm0_rank3/test.json +++ b/operators/data_layout/reshape/reshape_28_bf16_perm0_rank3/test.json @@ -5,20 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 1, - 28 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 1, + 28 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 28 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -26,30 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 28 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_28_i16_perm0_rank3/test.json b/operators/data_layout/reshape/reshape_28_i16_perm0_rank3/test.json index d2ab7ff44..3126d01ff 100644 --- a/operators/data_layout/reshape/reshape_28_i16_perm0_rank3/test.json +++ b/operators/data_layout/reshape/reshape_28_i16_perm0_rank3/test.json @@ -5,20 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 1, - 28 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 1, + 28 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 28 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -26,30 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 28 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_28x35x50_f16_perm0_rank3/test.json b/operators/data_layout/reshape/reshape_28x35x50_f16_perm0_rank3/test.json index 8b147d1bd..395c23a9e 100644 --- a/operators/data_layout/reshape/reshape_28x35x50_f16_perm0_rank3/test.json +++ b/operators/data_layout/reshape/reshape_28x35x50_f16_perm0_rank3/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 175, - 2, - 140 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 175, + 2, + 140 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28, + 35, + 50 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 175, + 2, + 140 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28, - 35, - 50 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 175, - 2, - 140 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_28x35x50_f16_perm1_rank3/test.json b/operators/data_layout/reshape/reshape_28x35x50_f16_perm1_rank3/test.json index 93420cefb..5dc534365 100644 --- a/operators/data_layout/reshape/reshape_28x35x50_f16_perm1_rank3/test.json +++ b/operators/data_layout/reshape/reshape_28x35x50_f16_perm1_rank3/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 4, - 35, - 350 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 4, + 35, + 350 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28, + 35, + 50 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 4, + 35, + 350 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 28, - 35, - 50 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 4, - 35, - 350 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_32x24_i8_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_32x24_i8_perm0_rank2/test.json index 9a5ca5bba..6b4d825ef 100644 --- a/operators/data_layout/reshape/reshape_32x24_i8_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_32x24_i8_perm0_rank2/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 16, - 48 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 16, + 48 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 32, + 24 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 16, + 48 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 32, - 24 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 16, - 48 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_32x24_i8_perm1_rank2/test.json b/operators/data_layout/reshape/reshape_32x24_i8_perm1_rank2/test.json index 3c959d6d3..c8c165e5a 100644 --- a/operators/data_layout/reshape/reshape_32x24_i8_perm1_rank2/test.json +++ b/operators/data_layout/reshape/reshape_32x24_i8_perm1_rank2/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 3, - 256 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 3, + 256 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 32, + 24 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 3, + 256 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 32, - 24 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 3, - 256 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_35x10_i16_perm0_rank5/test.json b/operators/data_layout/reshape/reshape_35x10_i16_perm0_rank5/test.json index 3d0f9f6d0..631910064 100644 --- a/operators/data_layout/reshape/reshape_35x10_i16_perm0_rank5/test.json +++ b/operators/data_layout/reshape/reshape_35x10_i16_perm0_rank5/test.json @@ -5,22 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 14, - 5, - 1, - 5 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 14, + 5, + 1, + 5 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 35, + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 14, + 5, + 1, + 5 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -28,33 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 35, - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 1, - 14, - 5, - 1, - 5 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/test.json b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/test.json index 67dbfc284..ec5b26072 100644 --- a/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/test.json +++ b/operators/data_layout/reshape/reshape_35x10_i16_perm1_rank3/test.json @@ -5,20 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 7, - 5, - 10 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 7, + 5, + 10 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 35, + 10 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 7, + 5, + 10 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -26,31 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 35, - 10 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 7, - 5, - 10 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_42x30x45_i8_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_42x30x45_i8_perm0_rank2/test.json index 875001f7b..2cf9a850d 100644 --- a/operators/data_layout/reshape/reshape_42x30x45_i8_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_42x30x45_i8_perm0_rank2/test.json @@ -5,19 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 210, - 270 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 210, + 270 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 42, + 30, + 45 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 210, + 270 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -25,31 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 42, - 30, - 45 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 210, - 270 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_42x30x45_i8_perm1_rank5/test.json b/operators/data_layout/reshape/reshape_42x30x45_i8_perm1_rank5/test.json index 381d8b48c..044ac4241 100644 --- a/operators/data_layout/reshape/reshape_42x30x45_i8_perm1_rank5/test.json +++ b/operators/data_layout/reshape/reshape_42x30x45_i8_perm1_rank5/test.json @@ -5,22 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 54, - 5, - 7, - 2, - 15 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 54, + 5, + 7, + 2, + 15 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 42, + 30, + 45 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 54, + 5, + 7, + 2, + 15 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -28,34 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 42, - 30, - 45 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 54, - 5, - 7, - 2, - 15 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_43x44x4_f32_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_43x44x4_f32_perm0_rank2/test.json index 687af1764..10cc37fa8 100644 --- a/operators/data_layout/reshape/reshape_43x44x4_f32_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_43x44x4_f32_perm0_rank2/test.json @@ -5,19 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 16, - 473 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 16, + 473 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 43, + 44, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 16, + 473 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -25,31 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 43, - 44, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 16, - 473 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_43x44x4_f32_perm1_rank4/test.json b/operators/data_layout/reshape/reshape_43x44x4_f32_perm1_rank4/test.json index e689effb3..8e4534597 100644 --- a/operators/data_layout/reshape/reshape_43x44x4_f32_perm1_rank4/test.json +++ b/operators/data_layout/reshape/reshape_43x44x4_f32_perm1_rank4/test.json @@ -5,21 +5,53 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 4, - 11, - 172 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 4, + 11, + 172 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 43, + 44, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 4, + 11, + 172 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -27,33 +59,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 43, - 44, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 4, - 11, - 172 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_43x57x55x2_i16_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_43x57x55x2_i16_perm0_rank2/test.json index 13a9fadea..b157a06b4 100644 --- a/operators/data_layout/reshape/reshape_43x57x55x2_i16_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_43x57x55x2_i16_perm0_rank2/test.json @@ -5,19 +5,50 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 33, - 8170 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 33, + 8170 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 43, + 57, + 55, + 2 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 33, + 8170 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -25,32 +56,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 43, - 57, - 55, - 2 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 33, - 8170 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_43x57x55x2_i16_perm1_rank1/test.json b/operators/data_layout/reshape/reshape_43x57x55x2_i16_perm1_rank1/test.json index b6d445b6d..a42e7af7f 100644 --- a/operators/data_layout/reshape/reshape_43x57x55x2_i16_perm1_rank1/test.json +++ b/operators/data_layout/reshape/reshape_43x57x55x2_i16_perm1_rank1/test.json @@ -5,18 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 269610 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 269610 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 43, + 57, + 55, + 2 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 269610 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -24,31 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 43, - 57, - 55, - 2 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 269610 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_46x60x49_i32_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_46x60x49_i32_perm0_rank2/test.json index b329abb1d..9f6e8d160 100644 --- a/operators/data_layout/reshape/reshape_46x60x49_i32_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_46x60x49_i32_perm0_rank2/test.json @@ -5,19 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 135240 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 135240 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 46, + 60, + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 135240 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -25,31 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 46, - 60, - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 1, - 135240 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_46x60x49_i32_perm1_rank1/test.json b/operators/data_layout/reshape/reshape_46x60x49_i32_perm1_rank1/test.json index 00bd44ee9..523b6bc85 100644 --- a/operators/data_layout/reshape/reshape_46x60x49_i32_perm1_rank1/test.json +++ b/operators/data_layout/reshape/reshape_46x60x49_i32_perm1_rank1/test.json @@ -5,18 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 135240 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 135240 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 46, + 60, + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 135240 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -24,30 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 46, - 60, - 49 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 135240 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_50_b_perm1_rank1/test.json b/operators/data_layout/reshape/reshape_50_b_perm1_rank1/test.json index 38af583b0..856feebb8 100644 --- a/operators/data_layout/reshape/reshape_50_b_perm1_rank1/test.json +++ b/operators/data_layout/reshape/reshape_50_b_perm1_rank1/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 50 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 50 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 50 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 50 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_50x33_f16_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_50x33_f16_perm0_rank1/test.json index 082da7d7b..e03854a61 100644 --- a/operators/data_layout/reshape/reshape_50x33_f16_perm0_rank1/test.json +++ b/operators/data_layout/reshape/reshape_50x33_f16_perm0_rank1/test.json @@ -5,18 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1650 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1650 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 50, + 33 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 1650 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -24,29 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 50, - 33 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 1650 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_55x11_f32_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_55x11_f32_perm0_rank1/test.json index cf4b2ac91..a05525ea6 100644 --- a/operators/data_layout/reshape/reshape_55x11_f32_perm0_rank1/test.json +++ b/operators/data_layout/reshape/reshape_55x11_f32_perm0_rank1/test.json @@ -5,18 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 605 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 605 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 55, + 11 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 605 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -24,29 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 55, - 11 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 605 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_55x11_f32_perm1_rank2/test.json b/operators/data_layout/reshape/reshape_55x11_f32_perm1_rank2/test.json index eecb593f5..0428c8eb9 100644 --- a/operators/data_layout/reshape/reshape_55x11_f32_perm1_rank2/test.json +++ b/operators/data_layout/reshape/reshape_55x11_f32_perm1_rank2/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 605 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 605 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 55, + 11 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 605 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 55, - 11 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 605 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_56x2x24x8_bf16_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_56x2x24x8_bf16_perm0_rank1/test.json index 5a15089d0..860af1244 100644 --- a/operators/data_layout/reshape/reshape_56x2x24x8_bf16_perm0_rank1/test.json +++ b/operators/data_layout/reshape/reshape_56x2x24x8_bf16_perm0_rank1/test.json @@ -5,18 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 21504 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 21504 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 56, + 2, + 24, + 8 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 21504 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -24,31 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 56, - 2, - 24, - 8 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 21504 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_56x2x24x8_bf16_perm1_rank5/test.json b/operators/data_layout/reshape/reshape_56x2x24x8_bf16_perm1_rank5/test.json index 67883b19e..83e26e0d1 100644 --- a/operators/data_layout/reshape/reshape_56x2x24x8_bf16_perm1_rank5/test.json +++ b/operators/data_layout/reshape/reshape_56x2x24x8_bf16_perm1_rank5/test.json @@ -5,22 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 42, - 1, - 8, - 2, - 32 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 42, + 1, + 8, + 2, + 32 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 56, + 2, + 24, + 8 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 42, + 1, + 8, + 2, + 32 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -28,35 +62,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 56, - 2, - 24, - 8 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 42, - 1, - 8, - 2, - 32 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_5x55x2_bf16_perm0_rank5/test.json b/operators/data_layout/reshape/reshape_5x55x2_bf16_perm0_rank5/test.json index 679f403c9..aa7e9f14c 100644 --- a/operators/data_layout/reshape/reshape_5x55x2_bf16_perm0_rank5/test.json +++ b/operators/data_layout/reshape/reshape_5x55x2_bf16_perm0_rank5/test.json @@ -5,22 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 2, - 11, - 5, - 1, - 5 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 2, + 11, + 5, + 1, + 5 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 55, + 2 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 11, + 5, + 1, + 5 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -28,34 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 55, - 2 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 2, - 11, - 5, - 1, - 5 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_5x55x2_bf16_perm1_rank5/test.json b/operators/data_layout/reshape/reshape_5x55x2_bf16_perm1_rank5/test.json index 0bf471aba..6dab443ef 100644 --- a/operators/data_layout/reshape/reshape_5x55x2_bf16_perm1_rank5/test.json +++ b/operators/data_layout/reshape/reshape_5x55x2_bf16_perm1_rank5/test.json @@ -5,22 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 11, - 1, - 2, - 1, - 25 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 11, + 1, + 2, + 1, + 25 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 55, + 2 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 11, + 1, + 2, + 1, + 25 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -28,34 +61,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 55, - 2 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 11, - 1, - 2, - 1, - 25 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_7x20_b_perm0_rank5/test.json b/operators/data_layout/reshape/reshape_7x20_b_perm0_rank5/test.json index 038430264..53097a835 100644 --- a/operators/data_layout/reshape/reshape_7x20_b_perm0_rank5/test.json +++ b/operators/data_layout/reshape/reshape_7x20_b_perm0_rank5/test.json @@ -5,22 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 5, - 2, - 1, - 1, - 14 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 5, + 2, + 1, + 1, + 14 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 20 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 5, + 2, + 1, + 1, + 14 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -28,33 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 20 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 5, - 2, - 1, - 1, - 14 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_7x20_b_perm1_rank1/test.json b/operators/data_layout/reshape/reshape_7x20_b_perm1_rank1/test.json index fafecbb18..890ccf3a7 100644 --- a/operators/data_layout/reshape/reshape_7x20_b_perm1_rank1/test.json +++ b/operators/data_layout/reshape/reshape_7x20_b_perm1_rank1/test.json @@ -5,18 +5,46 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 140 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 140 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 7, + 20 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 140 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -24,29 +52,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 7, - 20 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 140 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_10x8x14_f32_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_10x8x14_f32_perm0_rank2/test.json index 83ab0b511..24242eea7 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_10x8x14_f32_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_10x8x14_f32_perm0_rank2/test.json @@ -5,19 +5,49 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 8, - 140 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 8, + 140 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8, + 14 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 14, + 142 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -25,31 +55,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 8, - 14 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 14, - 142 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/test.json b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/test.json index 7ba956944..d43408cd7 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 11 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 11 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 13 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 13 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongInputList_10x8x13_b_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongInputList_10x8x13_b_perm0_rank2/test.json index 5c11a0725..a04d65bd8 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_WrongInputList_10x8x13_b_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongInputList_10x8x13_b_perm0_rank2/test.json @@ -5,51 +5,56 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 16, - 65 - ] - }, - inputs: [ + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 16, + 65 + ] + }, + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 8, + 13 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 16, + 65 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 8, - 13 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 16, - 65 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongInputList_11x15x10_f32_perm0_rank3/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongInputList_11x15x10_f32_perm0_rank3/test.json index cd7a98714..134e30e09 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_WrongInputList_11x15x10_f32_perm0_rank3/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongInputList_11x15x10_f32_perm0_rank3/test.json @@ -5,53 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 2, - 3, - 275 - ] - }, - inputs: [ + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 2, + 3, + 275 + ] + }, + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 15, + 10 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 2, + 3, + 275 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 15, - 10 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 2, - 3, - 275 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongInputType_10x15x14_i48_perm0_rank6/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongInputType_10x15x14_i48_perm0_rank6/test.json index 5062d7d6e..508d26020 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_WrongInputType_10x15x14_i48_perm0_rank6/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongInputType_10x15x14_i48_perm0_rank6/test.json @@ -5,23 +5,57 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 4, - 7, - 3, - 5, - 1, - 5 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 4, + 7, + 3, + 5, + 1, + 5 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 15, + 14 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 4, + 7, + 3, + 5, + 1, + 5 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -29,35 +63,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 15, - 14 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 4, - 7, - 3, - 5, - 1, - 5 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongInputType_14x13x7_i4_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongInputType_14x13x7_i4_perm0_rank1/test.json index 2c40e6cb9..1aaf8ad77 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_WrongInputType_14x13x7_i4_perm0_rank1/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongInputType_14x13x7_i4_perm0_rank1/test.json @@ -5,18 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1274 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1274 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 13, + 7 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 1274 + ], + type: "INT4" + } + ], inputs: [ "input-0" ], @@ -24,30 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 13, - 7 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 1274 - ], - type: "INT4" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/test.json index 06c680b60..d880cc2dd 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/test.json @@ -5,49 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 2, - 5 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 2, + 5 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 5 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 2, - 5 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/test.json index a1d64a2e9..e34844255 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/test.json @@ -5,57 +5,62 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 1, - 8, - 4, - 1, - 5 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 8, + 4, + 1, + 5 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 4, + 4 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 8, + 4, + 1, + 5 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 4, - 4 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 1, - 8, - 4, - 1, - 5 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputType_11x7x2_i32_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputType_11x7x2_i32_perm0_rank1/test.json index aecb46e90..9ebbefaf0 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputType_11x7x2_i32_perm0_rank1/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputType_11x7x2_i32_perm0_rank1/test.json @@ -5,18 +5,47 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 154 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 154 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 7, + 2 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 154 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -24,30 +53,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 7, - 2 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 154 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputType_12x14x12x12_f32_perm0_rank6/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputType_12x14x12x12_f32_perm0_rank6/test.json index 032ae89b3..aebe97c50 100644 --- a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputType_12x14x12x12_f32_perm0_rank6/test.json +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputType_12x14x12x12_f32_perm0_rank6/test.json @@ -5,23 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESHAPE", - attribute_type: "ReshapeAttribute", - attribute: { - new_shape: [ - 32, - 7, - 9, - 2, - 1, - 6 - ] - }, + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 32, + 7, + 9, + 2, + 1, + 6 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 14, + 12, + 12 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 32, + 7, + 9, + 2, + 1, + 6 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -29,36 +64,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 12, - 14, - 12, - 12 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 32, - 7, - 9, - 2, - 1, - 6 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |