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/transpose | |
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/transpose')
51 files changed, 2144 insertions, 1889 deletions
diff --git a/operators/data_layout/transpose/transpose_13x6x34_bf16_perm0/test.json b/operators/data_layout/transpose/transpose_13x6x34_bf16_perm0/test.json index 9b53ce054..31909e273 100644 --- a/operators/data_layout/transpose/transpose_13x6x34_bf16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_13x6x34_bf16_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 0, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 0, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 6, + 34 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 6, + 13, + 34 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 6, - 34 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 6, - 13, - 34 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_13x6x34_bf16_perm1/test.json b/operators/data_layout/transpose/transpose_13x6x34_bf16_perm1/test.json index b3708b3bb..51e24667c 100644 --- a/operators/data_layout/transpose/transpose_13x6x34_bf16_perm1/test.json +++ b/operators/data_layout/transpose/transpose_13x6x34_bf16_perm1/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2, - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2, + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 6, + 34 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 34, + 13, + 6 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 6, - 34 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 34, - 13, - 6 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_13x6x34_i16_perm0/test.json b/operators/data_layout/transpose/transpose_13x6x34_i16_perm0/test.json index dc7417190..db401360d 100644 --- a/operators/data_layout/transpose/transpose_13x6x34_i16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_13x6x34_i16_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 0, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 0, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 6, + 34 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 6, + 13, + 34 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 6, - 34 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 6, - 13, - 34 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_13x6x34_i16_perm1/test.json b/operators/data_layout/transpose/transpose_13x6x34_i16_perm1/test.json index 339e1157a..233f9a06a 100644 --- a/operators/data_layout/transpose/transpose_13x6x34_i16_perm1/test.json +++ b/operators/data_layout/transpose/transpose_13x6x34_i16_perm1/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2, - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2, + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 6, + 34 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 34, + 13, + 6 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 6, - 34 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 34, - 13, - 6 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_16x43x41x9_f32_perm0/test.json b/operators/data_layout/transpose/transpose_16x43x41x9_f32_perm0/test.json index 509fd3966..1d9c8a644 100644 --- a/operators/data_layout/transpose/transpose_16x43x41x9_f32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_16x43x41x9_f32_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 3, - 0, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 3, + 0, + 2, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16, + 43, + 41, + 9 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 9, + 16, + 41, + 43 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16, - 43, - 41, - 9 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 9, - 16, - 41, - 43 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_16x43x41x9_f32_perm1/test.json b/operators/data_layout/transpose/transpose_16x43x41x9_f32_perm1/test.json index bcfeb7fd6..076fd8d1f 100644 --- a/operators/data_layout/transpose/transpose_16x43x41x9_f32_perm1/test.json +++ b/operators/data_layout/transpose/transpose_16x43x41x9_f32_perm1/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1, - 2, - 3 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1, + 2, + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 16, + 43, + 41, + 9 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 16, + 43, + 41, + 9 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 16, - 43, - 41, - 9 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 16, - 43, - 41, - 9 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_1x1x1x65535_f32_perm0/test.json b/operators/data_layout/transpose/transpose_1x1x1x65535_f32_perm0/test.json index 9ddac5e01..08a0530d7 100644 --- a/operators/data_layout/transpose/transpose_1x1x1x65535_f32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_1x1x1x65535_f32_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 2, - 3, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 2, + 3, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 1, + 65535 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 65535, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 1, - 65535 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 65535, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_1x1x65539x2_f32_perm0/test.json b/operators/data_layout/transpose/transpose_1x1x65539x2_f32_perm0/test.json index 0dae8b488..3e7b9836c 100644 --- a/operators/data_layout/transpose/transpose_1x1x65539x2_f32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_1x1x65539x2_f32_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2, - 3, - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2, + 3, + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 1, + 65539, + 2 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 65539, + 2, + 1, + 1 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 1, - 65539, - 2 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 65539, - 2, - 1, - 1 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_1x65537x1x2_i8_perm0/test.json b/operators/data_layout/transpose/transpose_1x65537x1x2_i8_perm0/test.json index cefc2589d..86f78b99e 100644 --- a/operators/data_layout/transpose/transpose_1x65537x1x2_i8_perm0/test.json +++ b/operators/data_layout/transpose/transpose_1x65537x1x2_i8_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2, - 3, - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2, + 3, + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65537, + 1, + 2 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 2, + 1, + 65537 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65537, - 1, - 2 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 2, - 1, - 65537 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_24x5x30x51_i16_perm0/test.json b/operators/data_layout/transpose/transpose_24x5x30x51_i16_perm0/test.json index 8202fba96..ed32634d2 100644 --- a/operators/data_layout/transpose/transpose_24x5x30x51_i16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_24x5x30x51_i16_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2, - 0, - 3, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2, + 0, + 3, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 5, + 30, + 51 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 30, + 24, + 51, + 5 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 5, - 30, - 51 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 30, - 24, - 51, - 5 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_24x5x30x51_i16_perm1/test.json b/operators/data_layout/transpose/transpose_24x5x30x51_i16_perm1/test.json index 31743f75f..be6920bfb 100644 --- a/operators/data_layout/transpose/transpose_24x5x30x51_i16_perm1/test.json +++ b/operators/data_layout/transpose/transpose_24x5x30x51_i16_perm1/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 2, - 3, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 2, + 3, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 5, + 30, + 51 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 24, + 30, + 51, + 5 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 5, - 30, - 51 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 24, - 30, - 51, - 5 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_24x61x26x21_bf16_perm0/test.json b/operators/data_layout/transpose/transpose_24x61x26x21_bf16_perm0/test.json index 20ad6b0fc..5da40aeb7 100644 --- a/operators/data_layout/transpose/transpose_24x61x26x21_bf16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_24x61x26x21_bf16_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 2, - 3, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 2, + 3, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 61, + 26, + 21 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 24, + 26, + 21, + 61 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 61, - 26, - 21 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 24, - 26, - 21, - 61 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_24x61x26x21_bf16_perm1/test.json b/operators/data_layout/transpose/transpose_24x61x26x21_bf16_perm1/test.json index 603c48770..fa9245f33 100644 --- a/operators/data_layout/transpose/transpose_24x61x26x21_bf16_perm1/test.json +++ b/operators/data_layout/transpose/transpose_24x61x26x21_bf16_perm1/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1, - 2, - 3 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1, + 2, + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 24, + 61, + 26, + 21 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 24, + 61, + 26, + 21 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 24, - 61, - 26, - 21 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 24, - 61, - 26, - 21 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_33x9x53_f32_perm0/test.json b/operators/data_layout/transpose/transpose_33x9x53_f32_perm0/test.json index 9fbd67c32..d00f456ca 100644 --- a/operators/data_layout/transpose/transpose_33x9x53_f32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_33x9x53_f32_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2, - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2, + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 33, + 9, + 53 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 53, + 33, + 9 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 33, - 9, - 53 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 53, - 33, - 9 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_33x9x53_f32_perm1/test.json b/operators/data_layout/transpose/transpose_33x9x53_f32_perm1/test.json index a05bfa87b..b637401f2 100644 --- a/operators/data_layout/transpose/transpose_33x9x53_f32_perm1/test.json +++ b/operators/data_layout/transpose/transpose_33x9x53_f32_perm1/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 33, + 9, + 53 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 33, + 9, + 53 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 33, - 9, - 53 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 33, - 9, - 53 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_33x9x53_i32_perm0/test.json b/operators/data_layout/transpose/transpose_33x9x53_i32_perm0/test.json index 501b89897..b6b968437 100644 --- a/operators/data_layout/transpose/transpose_33x9x53_i32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_33x9x53_i32_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2, - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2, + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 33, + 9, + 53 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 53, + 33, + 9 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 33, - 9, - 53 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 53, - 33, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_33x9x53_i32_perm1/test.json b/operators/data_layout/transpose/transpose_33x9x53_i32_perm1/test.json index 3e754cc14..86fb7971b 100644 --- a/operators/data_layout/transpose/transpose_33x9x53_i32_perm1/test.json +++ b/operators/data_layout/transpose/transpose_33x9x53_i32_perm1/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 33, + 9, + 53 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 33, + 9, + 53 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 33, - 9, - 53 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 33, - 9, - 53 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_35x56x5x55_i8_perm0/test.json b/operators/data_layout/transpose/transpose_35x56x5x55_i8_perm0/test.json index 6478631b6..b3af67c2e 100644 --- a/operators/data_layout/transpose/transpose_35x56x5x55_i8_perm0/test.json +++ b/operators/data_layout/transpose/transpose_35x56x5x55_i8_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 3, - 2, - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 3, + 2, + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 35, + 56, + 5, + 55 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 55, + 5, + 35, + 56 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 35, - 56, - 5, - 55 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 55, - 5, - 35, - 56 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_35x56x5x55_i8_perm1/test.json b/operators/data_layout/transpose/transpose_35x56x5x55_i8_perm1/test.json index 98f91b2f6..bc0358ef6 100644 --- a/operators/data_layout/transpose/transpose_35x56x5x55_i8_perm1/test.json +++ b/operators/data_layout/transpose/transpose_35x56x5x55_i8_perm1/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 3, - 0, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 3, + 0, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 35, + 56, + 5, + 55 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 56, + 55, + 35, + 5 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 35, - 56, - 5, - 55 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 56, - 55, - 35, - 5 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_41x26x52_b_perm0/test.json b/operators/data_layout/transpose/transpose_41x26x52_b_perm0/test.json index 46a2f127d..06cb345e9 100644 --- a/operators/data_layout/transpose/transpose_41x26x52_b_perm0/test.json +++ b/operators/data_layout/transpose/transpose_41x26x52_b_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 2, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 26, + 52 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 41, + 52, + 26 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 26, - 52 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 41, - 52, - 26 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_41x26x52_b_perm1/test.json b/operators/data_layout/transpose/transpose_41x26x52_b_perm1/test.json index a88089409..e8b74b820 100644 --- a/operators/data_layout/transpose/transpose_41x26x52_b_perm1/test.json +++ b/operators/data_layout/transpose/transpose_41x26x52_b_perm1/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 41, + 26, + 52 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 41, + 26, + 52 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 41, - 26, - 52 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 41, - 26, - 52 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_42x28_f16_perm0/test.json b/operators/data_layout/transpose/transpose_42x28_f16_perm0/test.json index e883a26e6..9ecc625cd 100644 --- a/operators/data_layout/transpose/transpose_42x28_f16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_42x28_f16_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 42, + 28 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 28, + 42 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 42, - 28 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 28, - 42 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_42x28_f16_perm1/test.json b/operators/data_layout/transpose/transpose_42x28_f16_perm1/test.json index df2fe051f..b0749ebb2 100644 --- a/operators/data_layout/transpose/transpose_42x28_f16_perm1/test.json +++ b/operators/data_layout/transpose/transpose_42x28_f16_perm1/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 42, + 28 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 42, + 28 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 42, - 28 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 42, - 28 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_49_f32_perm0/test.json b/operators/data_layout/transpose/transpose_49_f32_perm0/test.json index 42b51c197..6a5662a00 100644 --- a/operators/data_layout/transpose/transpose_49_f32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_49_f32_perm0/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 49 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 49 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 49 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 49 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_49x42_i8_perm0/test.json b/operators/data_layout/transpose/transpose_49x42_i8_perm0/test.json index 084294935..6b2c1d4b1 100644 --- a/operators/data_layout/transpose/transpose_49x42_i8_perm0/test.json +++ b/operators/data_layout/transpose/transpose_49x42_i8_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 49, + 42 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 49, + 42 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 49, - 42 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 49, - 42 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_49x42_i8_perm1/test.json b/operators/data_layout/transpose/transpose_49x42_i8_perm1/test.json index 4afa8629f..5787d377f 100644 --- a/operators/data_layout/transpose/transpose_49x42_i8_perm1/test.json +++ b/operators/data_layout/transpose/transpose_49x42_i8_perm1/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 49, + 42 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 42, + 49 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 49, - 42 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 42, - 49 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_51x1x51x50_i32_perm0/test.json b/operators/data_layout/transpose/transpose_51x1x51x50_i32_perm0/test.json index 42bcb0406..5458c4280 100644 --- a/operators/data_layout/transpose/transpose_51x1x51x50_i32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_51x1x51x50_i32_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1, - 3, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1, + 3, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 51, + 1, + 51, + 50 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 51, + 1, + 50, + 51 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 51, - 1, - 51, - 50 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 51, - 1, - 50, - 51 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_51x1x51x50_i32_perm1/test.json b/operators/data_layout/transpose/transpose_51x1x51x50_i32_perm1/test.json index a2e8d84d2..9cf583111 100644 --- a/operators/data_layout/transpose/transpose_51x1x51x50_i32_perm1/test.json +++ b/operators/data_layout/transpose/transpose_51x1x51x50_i32_perm1/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 3, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 3, + 2, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 51, + 1, + 51, + 50 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 51, + 50, + 51, + 1 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 51, - 1, - 51, - 50 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 51, - 50, - 51, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_55x6_f32_perm0/test.json b/operators/data_layout/transpose/transpose_55x6_f32_perm0/test.json index e37bbfefd..728351bf3 100644 --- a/operators/data_layout/transpose/transpose_55x6_f32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_55x6_f32_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 55, + 6 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 6, + 55 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 55, - 6 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 6, - 55 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_55x6_f32_perm1/test.json b/operators/data_layout/transpose/transpose_55x6_f32_perm1/test.json index 5b325f5f5..37e75ce51 100644 --- a/operators/data_layout/transpose/transpose_55x6_f32_perm1/test.json +++ b/operators/data_layout/transpose/transpose_55x6_f32_perm1/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 55, + 6 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 55, + 6 + ], + type: "FP32" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 55, - 6 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 55, - 6 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_63x54x3x15_b_perm0/test.json b/operators/data_layout/transpose/transpose_63x54x3x15_b_perm0/test.json index 5bea7b64c..be238866b 100644 --- a/operators/data_layout/transpose/transpose_63x54x3x15_b_perm0/test.json +++ b/operators/data_layout/transpose/transpose_63x54x3x15_b_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 2, - 0, - 3 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 2, + 0, + 3 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 63, + 54, + 3, + 15 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 54, + 3, + 63, + 15 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 63, - 54, - 3, - 15 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 54, - 3, - 63, - 15 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_63x54x3x15_b_perm1/test.json b/operators/data_layout/transpose/transpose_63x54x3x15_b_perm1/test.json index 6b9bfd50a..a76a49ffa 100644 --- a/operators/data_layout/transpose/transpose_63x54x3x15_b_perm1/test.json +++ b/operators/data_layout/transpose/transpose_63x54x3x15_b_perm1/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 3, - 1, - 0, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 3, + 1, + 0, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 63, + 54, + 3, + 15 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 15, + 54, + 63, + 3 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 63, - 54, - 3, - 15 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 15, - 54, - 63, - 3 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_65535x1x1x1_i8_perm0/test.json b/operators/data_layout/transpose/transpose_65535x1x1x1_i8_perm0/test.json index d26394a0b..6d4812cfc 100644 --- a/operators/data_layout/transpose/transpose_65535x1x1x1_i8_perm0/test.json +++ b/operators/data_layout/transpose/transpose_65535x1x1x1_i8_perm0/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 2, - 3, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 2, + 3, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 65535, + 1, + 1, + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 1, + 1, + 1, + 65535 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 65535, - 1, - 1, - 1 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 1, - 1, - 1, - 65535 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_6_f16_perm0/test.json b/operators/data_layout/transpose/transpose_6_f16_perm0/test.json index c03c7873b..bf669d2d9 100644 --- a/operators/data_layout/transpose/transpose_6_f16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_6_f16_perm0/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 6 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 6 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_6_i8_perm0/test.json b/operators/data_layout/transpose/transpose_6_i8_perm0/test.json index 0eb0b4a00..93e9ee517 100644 --- a/operators/data_layout/transpose/transpose_6_i8_perm0/test.json +++ b/operators/data_layout/transpose/transpose_6_i8_perm0/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 6 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 6 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_6x49x42_f16_perm0/test.json b/operators/data_layout/transpose/transpose_6x49x42_f16_perm0/test.json index b9a5fdb6a..c28798989 100644 --- a/operators/data_layout/transpose/transpose_6x49x42_f16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_6x49x42_f16_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 2, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 2, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 49, + 42 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 49, + 42, + 6 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 49, - 42 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 49, - 42, - 6 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_6x49x42_f16_perm1/test.json b/operators/data_layout/transpose/transpose_6x49x42_f16_perm1/test.json index be5db8467..8eaa30b2b 100644 --- a/operators/data_layout/transpose/transpose_6x49x42_f16_perm1/test.json +++ b/operators/data_layout/transpose/transpose_6x49x42_f16_perm1/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 49, + 42 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 6, + 49, + 42 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 49, - 42 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 6, - 49, - 42 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_6x49x42_i8_perm0/test.json b/operators/data_layout/transpose/transpose_6x49x42_i8_perm0/test.json index 3bfbf7f57..920fa6445 100644 --- a/operators/data_layout/transpose/transpose_6x49x42_i8_perm0/test.json +++ b/operators/data_layout/transpose/transpose_6x49x42_i8_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 2, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 2, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 49, + 42 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 49, + 42, + 6 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 49, - 42 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 49, - 42, - 6 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_6x49x42_i8_perm1/test.json b/operators/data_layout/transpose/transpose_6x49x42_i8_perm1/test.json index 69df71544..f6115c253 100644 --- a/operators/data_layout/transpose/transpose_6x49x42_i8_perm1/test.json +++ b/operators/data_layout/transpose/transpose_6x49x42_i8_perm1/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 49, + 42 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 6, + 49, + 42 + ], + type: "INT8" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 49, - 42 - ], - type: "INT8" - }, - { - name: "result-0", - shape: [ - 6, - 49, - 42 - ], - type: "INT8" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexOutsideBounds_10_bf16_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexOutsideBounds_10_bf16_perm0/test.json index b0c7e16e5..33df7b009 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_IndexOutsideBounds_10_bf16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexOutsideBounds_10_bf16_perm0/test.json @@ -5,18 +5,45 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 10 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -24,28 +51,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10 - ], - type: "BF16" - }, - { - name: "result-0", - shape: [ - 10 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexOutsideBounds_10x7_b_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexOutsideBounds_10x7_b_perm0/test.json index 837971036..b79676246 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_IndexOutsideBounds_10x7_b_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexOutsideBounds_10x7_b_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - -1, - -2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + -1, + -2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 7 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 10 + ], + type: "BOOL" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 7 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 10 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/test.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/test.json index f2c1f33c5..580477a5b 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_13x14_i16_perm1/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13, + 14 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 13, + 13 + ], + type: "INT16" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 13, - 14 - ], - type: "INT16" - }, - { - name: "result-0", - shape: [ - 13, - 13 - ], - type: "INT16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_15x3_f16_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_15x3_f16_perm0/test.json index 8c56d394f..4c903bff1 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_15x3_f16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_IndexUsedTwice_15x3_f16_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 15, + 3 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 3, + 3 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 15, - 3 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 3, - 3 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_WrongInputList_10x2x10_f32_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_WrongInputList_10x2x10_f32_perm0/test.json index b0c2fb26b..d3bc70907 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_WrongInputList_10x2x10_f32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_WrongInputList_10x2x10_f32_perm0/test.json @@ -5,53 +5,58 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 2, - 0, - 1 - ] - }, - inputs: [ + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 2, + 0, + 1 + ] + }, + inputs: [ + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 10 + ], + type: "FP32" + }, + { + name: "result-0", + shape: [ + 10, + 10, + 2 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 10 - ], - type: "FP32" - }, - { - name: "result-0", - shape: [ - 10, - 10, - 2 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_WrongInputList_10x5x4x12_b_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_WrongInputList_10x5x4x12_b_perm0/test.json index 0ec3801a6..7c212948e 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_WrongInputList_10x5x4x12_b_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_WrongInputList_10x5x4x12_b_perm0/test.json @@ -5,57 +5,62 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 3, - 0, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 3, + 0, + 2, + 1 + ] + }, + inputs: [ + "input-0", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 5, + 4, + 12 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 12, + 10, + 4, + 5 + ], + type: "BOOL" + } + ], inputs: [ - "input-0", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 5, - 4, - 12 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 12, - 10, - 4, - 5 - ], - type: "BOOL" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_WrongInputType_10x9x15_i48_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_WrongInputType_10x9x15_i48_perm0/test.json index f74f893a8..6010ef144 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_WrongInputType_10x9x15_i48_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_WrongInputType_10x9x15_i48_perm0/test.json @@ -5,20 +5,51 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 2, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 2, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 9, + 15 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 10, + 15, + 9 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -26,32 +57,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 9, - 15 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 10, - 15, - 9 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_WrongInputType_11x15_i48_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_WrongInputType_11x15_i48_perm0/test.json index f980e5148..d2c35bbdd 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_WrongInputType_11x15_i48_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_WrongInputType_11x15_i48_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 1, - 0 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 1, + 0 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 15 + ], + type: "INT48" + }, + { + name: "result-0", + shape: [ + 15, + 11 + ], + type: "INT48" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 15 - ], - type: "INT48" - }, - { - name: "result-0", - shape: [ - 15, - 11 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputList_10x2x11x14_f16_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputList_10x2x11x14_f16_perm0/test.json index 8143b6aa3..def053570 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputList_10x2x11x14_f16_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputList_10x2x11x14_f16_perm0/test.json @@ -5,56 +5,61 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 3, - 2, - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 3, + 2, + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2, + 11, + 14 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 14, + 11, + 10, + 2 + ], + type: "FP16" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2, - 11, - 14 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 14, - 11, - 10, - 2 - ], - type: "FP16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputList_11x5_i32_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputList_11x5_i32_perm0/test.json index 773ee3354..9ea560603 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputList_11x5_i32_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputList_11x5_i32_perm0/test.json @@ -5,50 +5,55 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 5 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 11, + 5 + ], + type: "INT32" + } + ], inputs: [ "input-0" ], outputs: [ - + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 11, - 5 - ], - type: "INT32" - }, - { - name: "result-0", - shape: [ - 11, - 5 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputType_10x2_b_perm0/test.json b/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputType_10x2_b_perm0/test.json index 80b439895..0cc86b3a9 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputType_10x2_b_perm0/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputType_10x2_b_perm0/test.json @@ -5,19 +5,48 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 0, - 1 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 0, + 1 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 2 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 10, + 2 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -25,30 +54,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 10, - 2 - ], - type: "BOOL" - }, - { - name: "result-0", - shape: [ - 10, - 2 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputType_6x13x5x15_f16_perm5/test.json b/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputType_6x13x5x15_f16_perm5/test.json index f13532293..5e6375c5b 100644 --- a/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputType_6x13x5x15_f16_perm5/test.json +++ b/operators/data_layout/transpose/transpose_ERRORIF_WrongOutputType_6x13x5x15_f16_perm5/test.json @@ -5,21 +5,54 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "TRANSPOSE", - attribute_type: "TransposeAttribute", - attribute: { - perms: [ - 3, - 1, - 0, - 2 - ] - }, + name: "main", + operators: [ + { + op: "TRANSPOSE", + attribute_type: "TransposeAttribute", + attribute: { + perms: [ + 3, + 1, + 0, + 2 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6, + 13, + 5, + 15 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 15, + 13, + 6, + 5 + ], + type: "BF16" + } + ], inputs: [ "input-0" ], @@ -27,34 +60,6 @@ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 6, - 13, - 5, - 15 - ], - type: "FP16" - }, - { - name: "result-0", - shape: [ - 15, - 13, - 6, - 5 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |