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/data_layout/tile | |
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/data_layout/tile')
36 files changed, 1750 insertions, 1579 deletions
diff --git a/operators/data_layout/tile/tile_11x4_b_perm0/test.json b/operators/data_layout/tile/tile_11x4_b_perm0/test.json index 2a2a849cb..16e955b75 100644 --- a/operators/data_layout/tile/tile_11x4_b_perm0/test.json +++ b/operators/data_layout/tile/tile_11x4_b_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 4 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 11, + 8 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 4 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 11, - 8 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_11x4_b_perm5/test.json b/operators/data_layout/tile/tile_11x4_b_perm5/test.json index 9f84a2bd4..4584e3a72 100644 --- a/operators/data_layout/tile/tile_11x4_b_perm5/test.json +++ b/operators/data_layout/tile/tile_11x4_b_perm5/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 4 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 22, + 8 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 4 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 22, - 8 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_11x6x2x15_b_perm4/test.json b/operators/data_layout/tile/tile_11x6x2x15_b_perm4/test.json index 596f78d24..d6969ca47 100644 --- a/operators/data_layout/tile/tile_11x6x2x15_b_perm4/test.json +++ b/operators/data_layout/tile/tile_11x6x2x15_b_perm4/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 3, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 3, + 2, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 6, + 2, + 15 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 22, + 18, + 4, + 15 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 6, - 2, - 15 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 22, - 18, - 4, - 15 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_14x9_f16_perm1/test.json b/operators/data_layout/tile/tile_14x9_f16_perm1/test.json index 55eb67067..b5761ec2a 100644 --- a/operators/data_layout/tile/tile_14x9_f16_perm1/test.json +++ b/operators/data_layout/tile/tile_14x9_f16_perm1/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14, + 9 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 28, + 18 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14, - 9 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 28, - 18 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_16x22x7x19_bf16_perm3/test.json b/operators/data_layout/tile/tile_16x22x7x19_bf16_perm3/test.json index d97e5fdc8..be9c4a336 100644 --- a/operators/data_layout/tile/tile_16x22x7x19_bf16_perm3/test.json +++ b/operators/data_layout/tile/tile_16x22x7x19_bf16_perm3/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1, - 1, - 3, - 3 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1, + 1, + 3, + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16, + 22, + 7, + 19 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 16, + 22, + 21, + 57 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16, - 22, - 7, - 19 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 16, - 22, - 21, - 57 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_17x23x17x16_f32_perm2/test.json b/operators/data_layout/tile/tile_17x23x17x16_f32_perm2/test.json index 08fef60fe..61a1cf66c 100644 --- a/operators/data_layout/tile/tile_17x23x17x16_f32_perm2/test.json +++ b/operators/data_layout/tile/tile_17x23x17x16_f32_perm2/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3, - 1, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3, + 1, + 2, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 17, + 23, + 17, + 16 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 51, + 23, + 34, + 16 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 17, - 23, - 17, - 16 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 51, - 23, - 34, - 16 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_19x16_i32_perm4/test.json b/operators/data_layout/tile/tile_19x16_i32_perm4/test.json index dc58dc817..066f2b1d8 100644 --- a/operators/data_layout/tile/tile_19x16_i32_perm4/test.json +++ b/operators/data_layout/tile/tile_19x16_i32_perm4/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 19, + 16 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 19, + 32 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 19, - 16 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 19, - 32 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_1x2x65540x1_i8_perm1/test.json b/operators/data_layout/tile/tile_1x2x65540x1_i8_perm1/test.json index a534e4626..131f5e798 100644 --- a/operators/data_layout/tile/tile_1x2x65540x1_i8_perm1/test.json +++ b/operators/data_layout/tile/tile_1x2x65540x1_i8_perm1/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 2, - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 2, + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 65540, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 2, + 4, + 65540, + 2 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 2, - 65540, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 2, - 4, - 65540, - 2 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_21x23x6_bf16_perm0/test.json b/operators/data_layout/tile/tile_21x23x6_bf16_perm0/test.json index 3b59d0a3d..4bfcb1400 100644 --- a/operators/data_layout/tile/tile_21x23x6_bf16_perm0/test.json +++ b/operators/data_layout/tile/tile_21x23x6_bf16_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1, - 3, - 3 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1, + 3, + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21, + 23, + 6 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 21, + 69, + 18 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 21, - 23, - 6 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 21, - 69, - 18 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_21x23x6x12_i16_perm1/test.json b/operators/data_layout/tile/tile_21x23x6x12_i16_perm1/test.json index 0d538e0eb..ef0ca55dc 100644 --- a/operators/data_layout/tile/tile_21x23x6x12_i16_perm1/test.json +++ b/operators/data_layout/tile/tile_21x23x6x12_i16_perm1/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3, - 2, - 3, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3, + 2, + 3, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 21, + 23, + 6, + 12 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 63, + 46, + 18, + 12 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 21, - 23, - 6, - 12 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 63, - 46, - 18, - 12 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_23_bf16_perm3/test.json b/operators/data_layout/tile/tile_23_bf16_perm3/test.json index 57bf11bf6..f71034621 100644 --- a/operators/data_layout/tile/tile_23_bf16_perm3/test.json +++ b/operators/data_layout/tile/tile_23_bf16_perm3/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 69 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 69 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_23_i32_perm0/test.json b/operators/data_layout/tile/tile_23_i32_perm0/test.json index 0da19abaf..fc3c8f1ad 100644 --- a/operators/data_layout/tile/tile_23_i32_perm0/test.json +++ b/operators/data_layout/tile/tile_23_i32_perm0/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 23 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 23 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_23x13x5_i16_perm3/test.json b/operators/data_layout/tile/tile_23x13x5_i16_perm3/test.json index 36d50e2b9..eb46728c6 100644 --- a/operators/data_layout/tile/tile_23x13x5_i16_perm3/test.json +++ b/operators/data_layout/tile/tile_23x13x5_i16_perm3/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 23, + 13, + 5 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 46, + 13, + 10 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 23, - 13, - 5 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 46, - 13, - 10 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_24_f32_perm2/test.json b/operators/data_layout/tile/tile_24_f32_perm2/test.json index 33a13b162..d108ea8ad 100644 --- a/operators/data_layout/tile/tile_24_f32_perm2/test.json +++ b/operators/data_layout/tile/tile_24_f32_perm2/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 24 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 24 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_24x26_i16_perm1/test.json b/operators/data_layout/tile/tile_24x26_i16_perm1/test.json index 126ea52fb..1972c0189 100644 --- a/operators/data_layout/tile/tile_24x26_i16_perm1/test.json +++ b/operators/data_layout/tile/tile_24x26_i16_perm1/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 26 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 72, + 52 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 26 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 72, - 52 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_25x25_f32_perm5/test.json b/operators/data_layout/tile/tile_25x25_f32_perm5/test.json index 14a2077f8..af08fc4ba 100644 --- a/operators/data_layout/tile/tile_25x25_f32_perm5/test.json +++ b/operators/data_layout/tile/tile_25x25_f32_perm5/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 25, + 25 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 75, + 50 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 25, - 25 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 75, - 50 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_26x25x22_f32_perm2/test.json b/operators/data_layout/tile/tile_26x25x22_f32_perm2/test.json index 1c46acaae..af865a71c 100644 --- a/operators/data_layout/tile/tile_26x25x22_f32_perm2/test.json +++ b/operators/data_layout/tile/tile_26x25x22_f32_perm2/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 2, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 26, + 25, + 22 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 52, + 50, + 22 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 26, - 25, - 22 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 52, - 50, - 22 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_2_b_perm2/test.json b/operators/data_layout/tile/tile_2_b_perm2/test.json index fb1fa99dd..dbd47a877 100644 --- a/operators/data_layout/tile/tile_2_b_perm2/test.json +++ b/operators/data_layout/tile/tile_2_b_perm2/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 2 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 4 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 2 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 4 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_31x15x13_f16_perm4/test.json b/operators/data_layout/tile/tile_31x15x13_f16_perm4/test.json index c1a9f23a0..d591870f2 100644 --- a/operators/data_layout/tile/tile_31x15x13_f16_perm4/test.json +++ b/operators/data_layout/tile/tile_31x15x13_f16_perm4/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 3, - 3 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 3, + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 31, + 15, + 13 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 62, + 45, + 39 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 31, - 15, - 13 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 62, - 45, - 39 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_31x15x13_i32_perm0/test.json b/operators/data_layout/tile/tile_31x15x13_i32_perm0/test.json index 808af4345..df46a5b5b 100644 --- a/operators/data_layout/tile/tile_31x15x13_i32_perm0/test.json +++ b/operators/data_layout/tile/tile_31x15x13_i32_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3, + 2, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 31, + 15, + 13 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 93, + 30, + 13 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 31, - 15, - 13 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 93, - 30, - 13 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_5x28_bf16_perm0/test.json b/operators/data_layout/tile/tile_5x28_bf16_perm0/test.json index 5f4d97b68..36e54aa40 100644 --- a/operators/data_layout/tile/tile_5x28_bf16_perm0/test.json +++ b/operators/data_layout/tile/tile_5x28_bf16_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 5, + 28 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 15, + 28 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 5, - 28 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 15, - 28 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_65533_i8_perm3/test.json b/operators/data_layout/tile/tile_65533_i8_perm3/test.json index 5f701baa0..d22d98c17 100644 --- a/operators/data_layout/tile/tile_65533_i8_perm3/test.json +++ b/operators/data_layout/tile/tile_65533_i8_perm3/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65533 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 65533 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65533 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 65533 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_65535_f32_perm2/test.json b/operators/data_layout/tile/tile_65535_f32_perm2/test.json index 7667dd8a7..31de93437 100644 --- a/operators/data_layout/tile/tile_65535_f32_perm2/test.json +++ b/operators/data_layout/tile/tile_65535_f32_perm2/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65535 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 65535 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65535 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 65535 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_6_f16_perm4/test.json b/operators/data_layout/tile/tile_6_f16_perm4/test.json index c5c384128..7fee7743c 100644 --- a/operators/data_layout/tile/tile_6_f16_perm4/test.json +++ b/operators/data_layout/tile/tile_6_f16_perm4/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 18 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 18 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_6_i16_perm3/test.json b/operators/data_layout/tile/tile_6_i16_perm3/test.json index e9bdadbbe..124b2d826 100644 --- a/operators/data_layout/tile/tile_6_i16_perm3/test.json +++ b/operators/data_layout/tile/tile_6_i16_perm3/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 12 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 12 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_6x25x20x21_f16_perm4/test.json b/operators/data_layout/tile/tile_6x25x20x21_f16_perm4/test.json index e72810cb2..00b20a1e5 100644 --- a/operators/data_layout/tile/tile_6x25x20x21_f16_perm4/test.json +++ b/operators/data_layout/tile/tile_6x25x20x21_f16_perm4/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1, - 1, - 3, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1, + 1, + 3, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 25, + 20, + 21 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 6, + 25, + 60, + 21 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 25, - 20, - 21 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 6, - 25, - 60, - 21 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_6x3x14_b_perm4/test.json b/operators/data_layout/tile/tile_6x3x14_b_perm4/test.json index a07e42ef2..4e187f540 100644 --- a/operators/data_layout/tile/tile_6x3x14_b_perm4/test.json +++ b/operators/data_layout/tile/tile_6x3x14_b_perm4/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3, - 3, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3, + 3, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 3, + 14 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 18, + 9, + 14 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 3, - 14 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 18, - 9, - 14 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongInputList_10x2x10x11_b_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_10x2x10x11_b_perm0/test.json index 2bf444f27..9fe6b936b 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongInputList_10x2x10x11_b_perm0/test.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_10x2x10x11_b_perm0/test.json @@ -5,56 +5,61 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 1, - 2, - 3 - ] - }, - inputs: [ + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 1, + 2, + 3 + ] + }, + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 10, + 11 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 20, + 2, + 20, + 33 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 10, - 11 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 20, - 2, - 20, - 33 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongInputList_10x7_f16_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_10x7_f16_perm0/test.json index 796e15bdb..2f78691ce 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongInputList_10x7_f16_perm0/test.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_10x7_f16_perm0/test.json @@ -5,50 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 3 - ] - }, - inputs: [ + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 3 + ] + }, + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 20, + 21 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 20, - 21 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/desc.json b/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/desc.json index 15cad4b15..992afc22b 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/desc.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/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/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/input-0.json b/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/input-0.json index 3d2252e90..f8a16e018 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/input-0.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/input-0.json @@ -4,344 +4,6 @@ [ [ [ - 0, - -6, - 4, - -3, - 4 - ], - [ - 2, - 1, - -3, - 2, - 7 - ] - ], - [ - [ - 6, - 6, - -4, - 1, - -2 - ], - [ - 7, - 7, - 6, - -5, - -3 - ] - ], - [ - [ - 3, - 4, - -2, - -5, - -5 - ], - [ - 3, - -1, - 0, - 5, - -7 - ] - ], - [ - [ - 4, - -3, - 6, - 7, - 0 - ], - [ - -3, - -4, - -5, - 7, - -5 - ] - ], - [ - [ - -1, - 0, - 3, - 5, - 1 - ], - [ - 4, - 1, - -1, - -5, - -4 - ] - ], - [ - [ - -1, - -7, - -3, - -1, - 0 - ], - [ - 5, - 7, - 3, - -6, - -1 - ] - ], - [ - [ - 3, - 1, - -1, - -1, - -1 - ], - [ - 1, - -5, - 0, - -4, - 3 - ] - ], - [ - [ - 5, - 0, - -2, - 7, - 2 - ], - [ - -1, - -7, - -7, - -4, - -4 - ] - ], - [ - [ - 3, - 0, - 7, - 1, - 6 - ], - [ - 1, - -2, - 3, - -1, - -3 - ] - ], - [ - [ - 0, - 2, - -2, - 3, - 7 - ], - [ - -1, - -3, - -1, - 5, - -5 - ] - ], - [ - [ - 7, - -1, - 5, - 4, - 4 - ], - [ - 6, - -5, - 1, - -6, - -3 - ] - ] - ], - [ - [ - [ - -7, - 3, - 2, - 4, - -5 - ], - [ - -3, - 3, - 5, - 6, - -6 - ] - ], - [ - [ - -1, - -7, - 5, - -6, - 5 - ], - [ - -5, - -7, - 6, - -1, - -1 - ] - ], - [ - [ - 2, - -3, - 3, - -1, - -3 - ], - [ - -2, - -7, - -3, - 1, - -5 - ] - ], - [ - [ - -6, - 2, - -1, - -5, - 4 - ], - [ - 4, - -7, - -4, - -2, - 3 - ] - ], - [ - [ - -6, - 5, - -3, - -6, - 5 - ], - [ - -6, - -6, - 7, - 0, - -1 - ] - ], - [ - [ - 3, - 2, - 2, - -7, - 1 - ], - [ - -3, - 5, - 0, - -6, - 6 - ] - ], - [ - [ - -3, - -3, - 7, - 4, - 5 - ], - [ - 2, - 6, - -6, - 1, - -3 - ] - ], - [ - [ - -2, - -4, - -4, - -1, - 6 - ], - [ - 2, - -2, - -1, - 0, - -4 - ] - ], - [ - [ - 0, - 3, - -4, - 1, - 3 - ], - [ - 0, - -3, - 1, - 4, - -4 - ] - ], - [ - [ - 1, - 3, - -3, - -2, - 6 - ], - [ - -2, - 1, - -5, - 6, - 1 - ] - ], - [ - [ 4, 2, -2, @@ -355,9 +17,7 @@ 5, -6 ] - ] - ], - [ + ], [ [ -6, @@ -517,7 +177,9 @@ 4, -2 ] - ], + ] + ], + [ [ [ 6, @@ -533,9 +195,7 @@ -2, -7 ] - ] - ], - [ + ], [ [ -4, @@ -695,7 +355,9 @@ -2, 5 ] - ], + ] + ], + [ [ [ -3, @@ -711,9 +373,7 @@ 6, -5 ] - ] - ], - [ + ], [ [ 7, @@ -873,7 +533,9 @@ 1, -4 ] - ], + ] + ], + [ [ [ 5, @@ -889,9 +551,7 @@ 6, -1 ] - ] - ], - [ + ], [ [ 0, @@ -1051,7 +711,9 @@ 5, -3 ] - ], + ] + ], + [ [ [ 3, @@ -1067,9 +729,7 @@ 5, -5 ] - ] - ], - [ + ], [ [ 5, @@ -1229,7 +889,9 @@ -1, -3 ] - ], + ] + ], + [ [ [ 0, @@ -1245,9 +907,7 @@ 0, 7 ] - ] - ], - [ + ], [ [ 0, @@ -1407,7 +1067,9 @@ 6, -4 ] - ], + ] + ], + [ [ [ -5, @@ -1423,9 +1085,7 @@ -4, -2 ] - ] - ], - [ + ], [ [ 2, @@ -1585,7 +1245,9 @@ 3, -3 ] - ], + ] + ], + [ [ [ 6, @@ -1601,9 +1263,7 @@ 2, 6 ] - ] - ], - [ + ], [ [ 1, @@ -1763,7 +1423,9 @@ 4, 2 ] - ], + ] + ], + [ [ [ 5, @@ -1779,6 +1441,344 @@ 6, 2 ] + ], + [ + [ + -4, + 6, + 4, + -1, + -5 + ], + [ + -2, + 1, + 4, + -4, + 4 + ] + ], + [ + [ + -3, + -4, + -1, + -5, + -1 + ], + [ + -2, + -3, + 4, + -3, + 3 + ] + ], + [ + [ + 3, + 2, + -3, + 5, + -4 + ], + [ + -3, + 6, + -2, + 3, + -7 + ] + ], + [ + [ + 2, + 6, + 3, + 1, + 5 + ], + [ + -3, + -2, + -6, + 3, + 3 + ] + ], + [ + [ + 4, + 4, + -6, + 2, + 4 + ], + [ + -4, + 0, + 6, + -1, + 4 + ] + ], + [ + [ + 0, + 2, + 2, + 2, + 4 + ], + [ + 6, + -3, + 6, + 2, + 1 + ] + ], + [ + [ + -3, + -1, + 2, + -2, + -3 + ], + [ + 5, + -1, + 2, + -7, + -6 + ] + ], + [ + [ + 5, + -5, + 4, + 6, + 0 + ], + [ + 6, + -1, + 7, + -4, + -1 + ] + ], + [ + [ + -2, + 4, + -7, + 5, + -7 + ], + [ + -3, + 1, + -5, + 0, + 7 + ] + ], + [ + [ + 5, + -7, + 1, + 1, + -6 + ], + [ + 2, + 0, + 3, + -3, + -4 + ] + ] + ], + [ + [ + [ + 4, + 3, + -5, + -4, + 1 + ], + [ + 5, + -4, + -4, + 5, + 3 + ] + ], + [ + [ + 6, + 4, + 7, + -5, + -3 + ], + [ + -4, + -7, + 4, + 2, + -6 + ] + ], + [ + [ + -5, + -5, + -1, + -1, + -3 + ], + [ + 6, + -4, + 1, + -1, + -2 + ] + ], + [ + [ + 5, + 7, + -7, + -1, + -6 + ], + [ + -1, + 2, + -1, + -3, + -3 + ] + ], + [ + [ + -3, + -3, + -2, + 3, + -6 + ], + [ + -7, + 0, + 3, + -4, + -4 + ] + ], + [ + [ + 2, + -2, + 4, + -5, + -6 + ], + [ + 1, + -2, + 3, + 0, + -2 + ] + ], + [ + [ + -5, + -5, + 4, + -4, + 0 + ], + [ + 5, + 6, + -3, + -6, + 4 + ] + ], + [ + [ + 3, + -3, + 1, + -5, + 3 + ], + [ + 3, + -3, + 0, + -2, + -7 + ] + ], + [ + [ + -6, + 7, + -1, + -5, + -7 + ], + [ + -2, + 7, + -2, + 7, + 0 + ] + ], + [ + [ + 4, + 4, + -7, + -7, + 6 + ], + [ + 6, + -6, + 2, + 6, + 7 + ] + ], + [ + [ + -3, + 5, + 2, + 6, + -5 + ], + [ + 2, + -7, + -2, + -7, + -1 + ] ] ] ] diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/test.json index b27217276..88c776133 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/test.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongInputType_10x11x2x5_i4_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3, - 3, - 2, - 3 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3, + 3, + 2, + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 11, + 2, + 5 + ], + type: "INT4" + }, + { + name: "result-0", + shape: [ + 30, + 33, + 4, + 15 + ], + type: "INT4" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 11, - 2, - 5 - ], - type: "INT4" - }, - { - name: "result-0", - shape: [ - 30, - 33, - 4, - 15 - ], - type: "INT4" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongOutputList_10x5x12x6_f32_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_WrongOutputList_10x5x12x6_f32_perm0/test.json index 1afa6733b..b551e2911 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongOutputList_10x5x12x6_f32_perm0/test.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongOutputList_10x5x12x6_f32_perm0/test.json @@ -5,56 +5,61 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2, - 1, - 1, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2, + 1, + 1, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 5, + 12, + 6 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 20, + 5, + 12, + 6 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 5, - 12, - 6 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 20, - 5, - 12, - 6 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongOutputList_14_b_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_WrongOutputList_14_b_perm0/test.json index a4030763f..e06c1b3af 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongOutputList_14_b_perm0/test.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongOutputList_14_b_perm0/test.json @@ -5,48 +5,53 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 3 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 14 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 42 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 14 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 42 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongOutputType_10_b_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_WrongOutputType_10_b_perm0/test.json index 18a6891a2..0196c50ad 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongOutputType_10_b_perm0/test.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongOutputType_10_b_perm0/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongOutputType_10x14x15x4_f32_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_WrongOutputType_10x14x15x4_f32_perm0/test.json index 1b38f8f3c..3f0c54bb0 100644 --- a/operators/data_layout/tile/tile_ERRORIF_WrongOutputType_10x14x15x4_f32_perm0/test.json +++ b/operators/data_layout/tile/tile_ERRORIF_WrongOutputType_10x14x15x4_f32_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TILE", - attribute_type: "TileAttribute", - attribute: { - multiples: [ - 1, - 1, - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TILE", + attribute_type: "TileAttribute", + attribute: { + multiples: [ + 1, + 1, + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 14, + 15, + 4 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 10, + 14, + 15, + 8 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 14, - 15, - 4 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 10, - 14, - 15, - 8 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |