From b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Mon, 16 Jan 2023 15:17:52 +0000 Subject: Regen tests after control flow operator support Includes removing 3 tests that are not needed anymore. Signed-off-by: Jeremy Johnson Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e --- .../test.json | 215 ++--- .../test.json | 215 ++--- .../test.json | 215 ++--- .../test.json | 221 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 203 ++--- .../test.json | 501 +++++------ .../test.json | 321 +++---- .../test.json | 499 +++++------ .../test.json | 211 ++--- .../test.json | 985 +++++++++++---------- .../test.json | 235 ++--- .../test.json | 305 +++---- .../test.json | 491 +++++----- .../test.json | 613 ++++++------- .../test.json | 225 ++--- 37 files changed, 5053 insertions(+), 4868 deletions(-) (limited to 'operators/tensor/transpose_conv2d_1x1') diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st11_pad0000_os1x11x33x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st11_pad0000_os1x11x33x2/test.json index 9ab1b0585..979db70c1 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st11_pad0000_os1x11x33x2/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st11_pad0000_os1x11x33x2/test.json @@ -5,123 +5,128 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 11, + 33, + 2 + ], + input_zp: 73, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 3 + ], + type: "INT4", + data: [ + 231, + 50, + 202 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 204, + 96, + 108, + 234, + 52, + 54, + 212, + 245 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 33, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 11, - 33, - 2 - ], - input_zp: 73, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 3 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 2, - 1, - 1, - 3 - ], - type: "INT4", - data: [ - 231, - 50, - 202 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 204, - 96, - 108, - 234, - 52, - 54, - 212, - 245 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 33, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st21_pad1111_os1x23x35x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st21_pad1111_os1x23x35x2/test.json index 0b2b4e015..e2b4d40de 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st21_pad1111_os1x23x35x2/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st21_pad1111_os1x23x35x2/test.json @@ -5,123 +5,128 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 1, + 1, + 1 + ], + stride: [ + 2, + 1 + ], + output_shape: [ + 1, + 23, + 35, + 2 + ], + input_zp: 27, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 3 + ], + type: "INT4", + data: [ + 228, + 255, + 52 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 50, + 77, + 234, + 81, + 245, + 207, + 141, + 237 + ] + }, + { + name: "result-0", + shape: [ + 1, + 23, + 35, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 1, - 1, - 1 - ], - stride: [ - 2, - 1 - ], - output_shape: [ - 1, - 23, - 35, - 2 - ], - input_zp: 27, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 3 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 2, - 1, - 1, - 3 - ], - type: "INT4", - data: [ - 228, - 255, - 52 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 50, - 77, - 234, - 81, - 245, - 207, - 141, - 237 - ] - }, - { - name: "result-0", - shape: [ - 1, - 23, - 35, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st81_pad9990_os1x99x42x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st81_pad9990_os1x99x42x2/test.json index aba9dcc32..e7fb56904 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st81_pad9990_os1x99x42x2/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_acci32_st81_pad9990_os1x99x42x2/test.json @@ -5,123 +5,128 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 9, + 9, + 9, + 0 + ], + stride: [ + 8, + 1 + ], + output_shape: [ + 1, + 99, + 42, + 2 + ], + input_zp: 31, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 3 + ], + type: "INT4", + data: [ + 37, + 165, + 114 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 100, + 242, + 143, + 224, + 35, + 243, + 191, + 121 + ] + }, + { + name: "result-0", + shape: [ + 1, + 99, + 42, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 9, - 9, - 9, - 0 - ], - stride: [ - 8, - 1 - ], - output_shape: [ - 1, - 99, - 42, - 2 - ], - input_zp: 31, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 3 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 2, - 1, - 1, - 3 - ], - type: "INT4", - data: [ - 37, - 165, - 114 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 100, - 242, - 143, - 224, - 35, - 243, - 191, - 121 - ] - }, - { - name: "result-0", - shape: [ - 1, - 99, - 42, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi8_acci32_st88_pad1110_os1x83x258x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi8_acci32_st88_pad1110_os1x83x258x2/test.json index 2e80da128..3ceb7fb5f 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi8_acci32_st88_pad1110_os1x83x258x2/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi8_acci32_st88_pad1110_os1x83x258x2/test.json @@ -5,126 +5,131 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 1, + 1, + 0 + ], + stride: [ + 8, + 8 + ], + output_shape: [ + 1, + 83, + 258, + 2 + ], + input_zp: 44, + weight_zp: 17, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 3 + ], + type: "INT8", + data: [ + 133, + 53, + 120, + 16, + 84, + 195 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 71, + 157, + 17, + 78, + 108, + 46, + 53, + 245 + ] + }, + { + name: "result-0", + shape: [ + 1, + 83, + 258, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 1, - 1, - 0 - ], - stride: [ - 8, - 8 - ], - output_shape: [ - 1, - 83, - 258, - 2 - ], - input_zp: 44, - weight_zp: 17, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 3 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 2, - 1, - 1, - 3 - ], - type: "INT8", - data: [ - 133, - 53, - 120, - 16, - 84, - 195 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 71, - 157, - 17, - 78, - 108, - 46, - 53, - 245 - ] - }, - { - name: "result-0", - shape: [ - 1, - 83, - 258, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1/test.json index 113b595c0..09419dd5c 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 9, + 9 + ], + stride: [ + 8, + 1 + ], + output_shape: [ + 1, + 385, + 51, + 1 + ], + input_zp: 120, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49, + 33, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 15 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 193, + 8, + 1, + 217 + ] + }, + { + name: "result-0", + shape: [ + 1, + 385, + 51, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 9, - 9 - ], - stride: [ - 8, - 1 - ], - output_shape: [ - 1, - 385, - 51, - 1 - ], - input_zp: 120, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49, - 33, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 15 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 193, - 8, - 1, - 217 - ] - }, - { - name: "result-0", - shape: [ - 1, - 385, - 51, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi8_acci32_st11_pad9000_os1x58x33x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi8_acci32_st11_pad9000_os1x58x33x1/test.json index a7f011303..621ffd978 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi8_acci32_st11_pad9000_os1x58x33x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi8_acci32_st11_pad9000_os1x58x33x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 9, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 58, + 33, + 1 + ], + input_zp: -96, + weight_zp: 44, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49, + 33, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 223 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 40, + 16, + 131, + 64 + ] + }, + { + name: "result-0", + shape: [ + 1, + 58, + 33, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 9, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 58, - 33, - 1 - ], - input_zp: -96, - weight_zp: 44, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49, - 33, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 223 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 40, - 16, - 131, - 64 - ] - }, - { - name: "result-0", - shape: [ - 1, - 58, - 33, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad0000_os1x65536x1x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad0000_os1x65536x1x1/test.json index 058c3263b..b8bb7e57d 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad0000_os1x65536x1x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad0000_os1x65536x1x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 65536, + 1, + 1 + ], + input_zp: -106, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 7 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 226, + 167, + 182, + 212 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 65536, - 1, - 1 - ], - input_zp: -106, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 7 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 226, - 167, - 182, - 212 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad1000_os1x65537x1x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad1000_os1x65537x1x1/test.json index 2414e27f9..30762b747 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad1000_os1x65537x1x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad1000_os1x65537x1x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 65537, + 1, + 1 + ], + input_zp: 109, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 4 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 35, + 217, + 30, + 72 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65537, + 1, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 65537, - 1, - 1 - ], - input_zp: 109, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 4 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 35, - 217, - 30, - 72 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65537, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad1100_os1x65538x1x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad1100_os1x65538x1x1/test.json index 1e532b67a..f01280edd 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad1100_os1x65538x1x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st11_pad1100_os1x65538x1x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 1, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 65538, + 1, + 1 + ], + input_zp: -63, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 12 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 67, + 216, + 22, + 237 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 1, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 1, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 65538, - 1, - 1 - ], - input_zp: -63, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 12 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 67, - 216, - 22, - 237 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st12_pad0111_os1x65537x3x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st12_pad0111_os1x65537x3x1/test.json index 1f2fe0ff8..9ad10efda 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st12_pad0111_os1x65537x3x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st12_pad0111_os1x65537x3x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 1, + 1, + 1 + ], + stride: [ + 1, + 2 + ], + output_shape: [ + 1, + 65537, + 3, + 1 + ], + input_zp: -9, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 13 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 74, + 52, + 231, + 171 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65537, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 1, - 1, - 1 - ], - stride: [ - 1, - 2 - ], - output_shape: [ - 1, - 65537, - 3, - 1 - ], - input_zp: -9, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 13 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 74, - 52, - 231, - 171 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65537, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad0011_os1x131071x3x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad0011_os1x131071x3x1/test.json index e5d1a3300..0c6947a2c 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad0011_os1x131071x3x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad0011_os1x131071x3x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 1, + 1 + ], + stride: [ + 2, + 1 + ], + output_shape: [ + 1, + 131071, + 3, + 1 + ], + input_zp: -49, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 4 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 34, + 44, + 7, + 121 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131071, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 1, - 1 - ], - stride: [ - 2, - 1 - ], - output_shape: [ - 1, - 131071, - 3, - 1 - ], - input_zp: -49, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 4 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 34, - 44, - 7, - 121 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131071, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad0101_os1x131072x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad0101_os1x131072x2x1/test.json index e2306f6dc..651241b46 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad0101_os1x131072x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad0101_os1x131072x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 1, + 0, + 1 + ], + stride: [ + 2, + 1 + ], + output_shape: [ + 1, + 131072, + 2, + 1 + ], + input_zp: -128, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 2 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 87, + 78, + 52, + 232 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131072, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 1, - 0, - 1 - ], - stride: [ - 2, - 1 - ], - output_shape: [ - 1, - 131072, - 2, - 1 - ], - input_zp: -128, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 2 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 87, - 78, - 52, - 232 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131072, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad1011_os1x131072x3x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad1011_os1x131072x3x1/test.json index e0b4e5182..ea07ee687 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad1011_os1x131072x3x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad1011_os1x131072x3x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 0, + 1, + 1 + ], + stride: [ + 2, + 1 + ], + output_shape: [ + 1, + 131072, + 3, + 1 + ], + input_zp: 76, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 14 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 12, + 61, + 175, + 158 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131072, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 0, - 1, - 1 - ], - stride: [ - 2, - 1 - ], - output_shape: [ - 1, - 131072, - 3, - 1 - ], - input_zp: 76, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 14 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 12, - 61, - 175, - 158 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131072, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad1111_os1x131073x3x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad1111_os1x131073x3x1/test.json index 4933f8d78..dfa936f39 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad1111_os1x131073x3x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st21_pad1111_os1x131073x3x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 1, + 1, + 1 + ], + stride: [ + 2, + 1 + ], + output_shape: [ + 1, + 131073, + 3, + 1 + ], + input_zp: -27, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 12 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 146, + 3, + 69, + 123 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131073, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 1, - 1, - 1 - ], - stride: [ - 2, - 1 - ], - output_shape: [ - 1, - 131073, - 3, - 1 - ], - input_zp: -27, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 12 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 146, - 3, - 69, - 123 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131073, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad0010_os1x131071x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad0010_os1x131071x2x1/test.json index 88a6d12c8..b39a2cfad 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad0010_os1x131071x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad0010_os1x131071x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 1, + 0 + ], + stride: [ + 2, + 2 + ], + output_shape: [ + 1, + 131071, + 2, + 1 + ], + input_zp: 11, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 6 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 168, + 215, + 142, + 35 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131071, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 1, - 0 - ], - stride: [ - 2, - 2 - ], - output_shape: [ - 1, - 131071, - 2, - 1 - ], - input_zp: 11, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 6 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 168, - 215, - 142, - 35 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131071, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad0100_os1x131072x1x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad0100_os1x131072x1x1/test.json index 962be3b15..224a64b26 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad0100_os1x131072x1x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad0100_os1x131072x1x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 1, + 0, + 0 + ], + stride: [ + 2, + 2 + ], + output_shape: [ + 1, + 131072, + 1, + 1 + ], + input_zp: -63, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 3 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 122, + 228, + 116, + 169 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131072, + 1, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 1, - 0, - 0 - ], - stride: [ - 2, - 2 - ], - output_shape: [ - 1, - 131072, - 1, - 1 - ], - input_zp: -63, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 3 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 122, - 228, - 116, - 169 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131072, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad1010_os1x131072x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad1010_os1x131072x2x1/test.json index 1f0359a1d..25cb92b3d 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad1010_os1x131072x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad1010_os1x131072x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 0, + 1, + 0 + ], + stride: [ + 2, + 2 + ], + output_shape: [ + 1, + 131072, + 2, + 1 + ], + input_zp: -113, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 3 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 47, + 114, + 4, + 193 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131072, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 0, - 1, - 0 - ], - stride: [ - 2, - 2 - ], - output_shape: [ - 1, - 131072, - 2, - 1 - ], - input_zp: -113, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 3 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 47, - 114, - 4, - 193 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131072, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad1110_os1x131073x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad1110_os1x131073x2x1/test.json index fe54378ab..7a7e1c5b4 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad1110_os1x131073x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi4_acci32_st22_pad1110_os1x131073x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 1, + 1, + 0 + ], + stride: [ + 2, + 2 + ], + output_shape: [ + 1, + 131073, + 2, + 1 + ], + input_zp: 71, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 5 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 196, + 244, + 144, + 104 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131073, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 1, - 1, - 0 - ], - stride: [ - 2, - 2 - ], - output_shape: [ - 1, - 131073, - 2, - 1 - ], - input_zp: 71, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 5 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 196, - 244, - 144, - 104 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131073, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad0010_os1x65536x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad0010_os1x65536x2x1/test.json index 3b80adffb..e2bc4b4cb 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad0010_os1x65536x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad0010_os1x65536x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 65536, + 2, + 1 + ], + input_zp: -76, + weight_zp: -58, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 86 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 198, + 31, + 19, + 146 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 1, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 65536, - 2, - 1 - ], - input_zp: -76, - weight_zp: -58, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 86 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 198, - 31, - 19, - 146 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad0100_os1x65537x1x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad0100_os1x65537x1x1/test.json index aeaa6947f..08ab655a5 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad0100_os1x65537x1x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad0100_os1x65537x1x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 1, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 65537, + 1, + 1 + ], + input_zp: -96, + weight_zp: -12, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 83 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 78, + 238, + 147, + 122 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65537, + 1, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 1, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 65537, - 1, - 1 - ], - input_zp: -96, - weight_zp: -12, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 83 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 78, - 238, - 147, - 122 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65537, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad1010_os1x65537x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad1010_os1x65537x2x1/test.json index aa7d15c48..f1c9eb504 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad1010_os1x65537x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad1010_os1x65537x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 0, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 65537, + 2, + 1 + ], + input_zp: 103, + weight_zp: -86, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 231 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 183, + 155, + 43, + 5 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65537, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 0, - 1, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 65537, - 2, - 1 - ], - input_zp: 103, - weight_zp: -86, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 231 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 183, - 155, - 43, - 5 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65537, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad1110_os1x65538x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad1110_os1x65538x2x1/test.json index 9558a2b79..27a009012 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad1110_os1x65538x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st11_pad1110_os1x65538x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 1, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 65538, + 2, + 1 + ], + input_zp: -126, + weight_zp: 87, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 112 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 199, + 7, + 215, + 56 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 1, - 1, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 65538, - 2, - 1 - ], - input_zp: -126, - weight_zp: 87, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 112 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 199, - 7, - 215, - 56 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad0001_os1x65536x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad0001_os1x65536x2x1/test.json index be0ac2abd..9f022bfbb 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad0001_os1x65536x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad0001_os1x65536x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 1 + ], + stride: [ + 1, + 2 + ], + output_shape: [ + 1, + 65536, + 2, + 1 + ], + input_zp: -26, + weight_zp: 4, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 13 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 102, + 105, + 253, + 92 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 1 - ], - stride: [ - 1, - 2 - ], - output_shape: [ - 1, - 65536, - 2, - 1 - ], - input_zp: -26, - weight_zp: 4, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 13 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 102, - 105, - 253, - 92 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad1001_os1x65537x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad1001_os1x65537x2x1/test.json index 757d92b67..b9842efa2 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad1001_os1x65537x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad1001_os1x65537x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 0, + 0, + 1 + ], + stride: [ + 1, + 2 + ], + output_shape: [ + 1, + 65537, + 2, + 1 + ], + input_zp: -103, + weight_zp: 93, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 116 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 40, + 124, + 17, + 237 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65537, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 0, - 0, - 1 - ], - stride: [ - 1, - 2 - ], - output_shape: [ - 1, - 65537, - 2, - 1 - ], - input_zp: -103, - weight_zp: 93, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 116 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 40, - 124, - 17, - 237 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65537, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad1101_os1x65538x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad1101_os1x65538x2x1/test.json index e051bd4d9..5bb9258b8 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad1101_os1x65538x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st12_pad1101_os1x65538x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + 1, + 0, + 1 + ], + stride: [ + 1, + 2 + ], + output_shape: [ + 1, + 65538, + 2, + 1 + ], + input_zp: 105, + weight_zp: 119, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 59 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 82, + 3, + 202, + 228 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65538, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 1, - 0, - 1 - ], - stride: [ - 1, - 2 - ], - output_shape: [ - 1, - 65538, - 2, - 1 - ], - input_zp: 105, - weight_zp: 119, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 59 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 82, - 3, - 202, - 228 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65538, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st21_pad0111_os1x131072x3x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st21_pad0111_os1x131072x3x1/test.json index fc7656177..3d5d2df15 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st21_pad0111_os1x131072x3x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st21_pad0111_os1x131072x3x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 1, + 1, + 1 + ], + stride: [ + 2, + 1 + ], + output_shape: [ + 1, + 131072, + 3, + 1 + ], + input_zp: 105, + weight_zp: -34, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 111 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 36, + 98, + 85, + 199 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131072, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 1, - 1, - 1 - ], - stride: [ - 2, - 1 - ], - output_shape: [ - 1, - 131072, - 3, - 1 - ], - input_zp: 105, - weight_zp: -34, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 111 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 36, - 98, - 85, - 199 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131072, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st22_pad0110_os1x131072x2x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st22_pad0110_os1x131072x2x1/test.json index 00975a202..fb3bf5265 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st22_pad0110_os1x131072x2x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x65536x1x1_i8xi8_acci32_st22_pad0110_os1x131072x2x1/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 1, + 1, + 0 + ], + stride: [ + 2, + 2 + ], + output_shape: [ + 1, + 131072, + 2, + 1 + ], + input_zp: -61, + weight_zp: -62, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT8", + data: [ + 196 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 38, + 209, + 148, + 61 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131072, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 1, - 1, - 0 - ], - stride: [ - 2, - 2 - ], - output_shape: [ - 1, - 131072, - 2, - 1 - ], - input_zp: -61, - weight_zp: -62, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT8", - data: [ - 196 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 38, - 209, - 148, - 61 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131072, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11/test.json index 7c0759f9d..4eaa12e85 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11/test.json @@ -5,266 +5,271 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 18, + 3, + 11 + ], + input_zp: 0, + weight_zp: 109, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 15, + 3, + 8 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 11, + 1, + 1, + 8 + ], + type: "INT8", + data: [ + 165, + 75, + 215, + 58, + 44, + 83, + 20, + 151, + 160, + 180, + 174, + 13, + 246, + 211, + 17, + 88, + 223, + 245, + 98, + 237, + 149, + 175, + 196, + 15, + 231, + 216, + 84, + 243, + 249, + 197, + 246, + 27, + 107, + 86, + 129, + 133, + 85, + 187, + 134, + 45, + 120, + 52, + 162, + 203, + 202, + 201, + 32, + 63, + 203, + 14, + 252, + 227, + 174, + 142, + 113, + 39, + 87, + 202, + 182, + 19, + 50, + 56, + 11, + 246, + 16, + 192, + 169, + 182, + 213, + 52, + 94, + 100, + 229, + 122, + 124, + 77, + 145, + 26, + 200, + 93, + 185, + 227, + 192, + 97, + 18, + 238, + 80, + 24 + ] + }, + { + name: "const-2", + shape: [ + 11 + ], + type: "INT48", + data: [ + 7, + 155, + 80, + 27, + 128, + 171, + 120, + 96, + 71, + 108, + 72, + 255, + 125, + 107, + 152, + 28, + 108, + 215, + 102, + 252, + 173, + 77, + 211, + 221, + 231, + 152, + 119, + 147, + 34, + 25, + 226, + 53, + 207, + 3, + 195, + 97, + 101, + 39, + 219, + 115, + 113, + 83, + 73, + 152, + 186, + 169, + 85, + 217, + 250, + 68, + 120, + 17, + 221, + 59, + 227, + 114, + 139, + 17, + 49, + 12, + 97, + 92, + 51, + 44, + 42, + 217 + ] + }, + { + name: "result-0", + shape: [ + 1, + 18, + 3, + 11 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 18, - 3, - 11 - ], - input_zp: 0, - weight_zp: 109, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 15, - 3, - 8 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 11, - 1, - 1, - 8 - ], - type: "INT8", - data: [ - 165, - 75, - 215, - 58, - 44, - 83, - 20, - 151, - 160, - 180, - 174, - 13, - 246, - 211, - 17, - 88, - 223, - 245, - 98, - 237, - 149, - 175, - 196, - 15, - 231, - 216, - 84, - 243, - 249, - 197, - 246, - 27, - 107, - 86, - 129, - 133, - 85, - 187, - 134, - 45, - 120, - 52, - 162, - 203, - 202, - 201, - 32, - 63, - 203, - 14, - 252, - 227, - 174, - 142, - 113, - 39, - 87, - 202, - 182, - 19, - 50, - 56, - 11, - 246, - 16, - 192, - 169, - 182, - 213, - 52, - 94, - 100, - 229, - 122, - 124, - 77, - 145, - 26, - 200, - 93, - 185, - 227, - 192, - 97, - 18, - 238, - 80, - 24 - ] - }, - { - name: "const-2", - shape: [ - 11 - ], - type: "INT48", - data: [ - 7, - 155, - 80, - 27, - 128, - 171, - 120, - 96, - 71, - 108, - 72, - 255, - 125, - 107, - 152, - 28, - 108, - 215, - 102, - 252, - 173, - 77, - 211, - 221, - 231, - 152, - 119, - 147, - 34, - 25, - 226, - 53, - 207, - 3, - 195, - 97, - 101, - 39, - 219, - 115, - 113, - 83, - 73, - 152, - 186, - 169, - 85, - 217, - 250, - 68, - 120, - 17, - 221, - 59, - 227, - 114, - 139, - 17, - 49, - 12, - 97, - 92, - 51, - 44, - 42, - 217 - ] - }, - { - name: "result-0", - shape: [ - 1, - 18, - 3, - 11 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_os1x14x6x8/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_os1x14x6x8/test.json index 813c3b4c3..559f24c3d 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_os1x14x6x8/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_os1x14x6x8/test.json @@ -5,176 +5,181 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 14, + 6, + 8 + ], + input_zp: -78, + weight_zp: -115, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 14, + 6, + 2 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 8, + 1, + 1, + 2 + ], + type: "INT8", + data: [ + 195, + 141, + 229, + 75, + 88, + 37, + 79, + 194, + 97, + 34, + 162, + 160, + 196, + 145, + 200, + 126 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 118, + 61, + 146, + 34, + 233, + 34, + 63, + 250, + 170, + 50, + 211, + 192, + 56, + 178, + 226, + 108, + 53, + 243, + 10, + 73, + 167, + 250, + 56, + 115, + 30, + 168, + 60, + 73, + 80, + 240, + 229, + 207, + 104, + 136, + 131, + 102, + 15, + 200, + 147, + 71, + 106, + 94, + 111, + 82, + 218, + 160, + 26, + 216 + ] + }, + { + name: "result-0", + shape: [ + 1, + 14, + 6, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 14, - 6, - 8 - ], - input_zp: -78, - weight_zp: -115, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 14, - 6, - 2 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 8, - 1, - 1, - 2 - ], - type: "INT8", - data: [ - 195, - 141, - 229, - 75, - 88, - 37, - 79, - 194, - 97, - 34, - 162, - 160, - 196, - 145, - 200, - 126 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 118, - 61, - 146, - 34, - 233, - 34, - 63, - 250, - 170, - 50, - 211, - 192, - 56, - 178, - 226, - 108, - 53, - 243, - 10, - 73, - 167, - 250, - 56, - 115, - 30, - 168, - 60, - 73, - 80, - 240, - 229, - 207, - 104, - 136, - 131, - 102, - 15, - 200, - 147, - 71, - 106, - 94, - 111, - 82, - 218, - 160, - 26, - 216 - ] - }, - { - name: "result-0", - shape: [ - 1, - 14, - 6, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_PadLargerEqualKernel_1x10x8x13_i8xi8_acci32_st11_pad-11-11-11-11_os1x-12x-14x9/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_PadLargerEqualKernel_1x10x8x13_i8xi8_acci32_st11_pad-11-11-11-11_os1x-12x-14x9/test.json index 47de2b9d3..15004642a 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_PadLargerEqualKernel_1x10x8x13_i8xi8_acci32_st11_pad-11-11-11-11_os1x-12x-14x9/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_PadLargerEqualKernel_1x10x8x13_i8xi8_acci32_st11_pad-11-11-11-11_os1x-12x-14x9/test.json @@ -5,265 +5,270 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + -11, + -11, + -11, + -11 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + -12, + -14, + 9 + ], + input_zp: -116, + weight_zp: 101, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 8, + 13 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 9, + 1, + 1, + 13 + ], + type: "INT8", + data: [ + 138, + 193, + 160, + 17, + 40, + 227, + 18, + 179, + 90, + 129, + 1, + 210, + 243, + 4, + 37, + 109, + 15, + 186, + 6, + 3, + 93, + 17, + 94, + 38, + 18, + 212, + 193, + 153, + 12, + 107, + 131, + 115, + 92, + 240, + 208, + 20, + 91, + 135, + 243, + 140, + 36, + 147, + 209, + 61, + 64, + 186, + 3, + 175, + 23, + 130, + 80, + 133, + 27, + 231, + 185, + 10, + 164, + 20, + 37, + 245, + 220, + 245, + 116, + 64, + 129, + 202, + 134, + 188, + 71, + 90, + 244, + 48, + 222, + 250, + 84, + 198, + 209, + 162, + 183, + 137, + 80, + 90, + 235, + 23, + 191, + 139, + 4, + 168, + 89, + 199, + 60, + 195, + 160, + 12, + 174, + 230, + 203, + 97, + 0, + 56, + 22, + 105, + 240, + 92, + 101, + 107, + 50, + 122, + 62, + 207, + 168, + 181, + 18, + 170, + 188, + 32, + 213 + ] + }, + { + name: "const-2", + shape: [ + 9 + ], + type: "INT32", + data: [ + 98, + 213, + 83, + 46, + 212, + 32, + 80, + 127, + 156, + 132, + 124, + 150, + 111, + 94, + 35, + 36, + 135, + 191, + 49, + 82, + 205, + 67, + 232, + 163, + 87, + 12, + 119, + 72, + 112, + 205, + 225, + 1, + 237, + 170, + 227, + 32 + ] + }, + { + name: "result-0", + shape: [ + 1, + -12, + -14, + 9 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - -11, - -11, - -11, - -11 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - -12, - -14, - 9 - ], - input_zp: -116, - weight_zp: 101, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 10, - 8, - 13 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 9, - 1, - 1, - 13 - ], - type: "INT8", - data: [ - 138, - 193, - 160, - 17, - 40, - 227, - 18, - 179, - 90, - 129, - 1, - 210, - 243, - 4, - 37, - 109, - 15, - 186, - 6, - 3, - 93, - 17, - 94, - 38, - 18, - 212, - 193, - 153, - 12, - 107, - 131, - 115, - 92, - 240, - 208, - 20, - 91, - 135, - 243, - 140, - 36, - 147, - 209, - 61, - 64, - 186, - 3, - 175, - 23, - 130, - 80, - 133, - 27, - 231, - 185, - 10, - 164, - 20, - 37, - 245, - 220, - 245, - 116, - 64, - 129, - 202, - 134, - 188, - 71, - 90, - 244, - 48, - 222, - 250, - 84, - 198, - 209, - 162, - 183, - 137, - 80, - 90, - 235, - 23, - 191, - 139, - 4, - 168, - 89, - 199, - 60, - 195, - 160, - 12, - 174, - 230, - 203, - 97, - 0, - 56, - 22, - 105, - 240, - 92, - 101, - 107, - 50, - 122, - 62, - 207, - 168, - 181, - 18, - 170, - 188, - 32, - 213 - ] - }, - { - name: "const-2", - shape: [ - 9 - ], - type: "INT32", - data: [ - 98, - 213, - 83, - 46, - 212, - 32, - 80, - 127, - 156, - 132, - 124, - 150, - 111, - 94, - 35, - 36, - 135, - 191, - 49, - 82, - 205, - 67, - 232, - 163, - 87, - 12, - 119, - 72, - 112, - 205, - 225, - 1, - 237, - 170, - 227, - 32 - ] - }, - { - name: "result-0", - shape: [ - 1, - -12, - -14, - 9 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/test.json index 950812ade..ff83c274e 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/test.json @@ -5,121 +5,126 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + -4, + -4 + ], + output_shape: [ + 1, + -43, + -15, + 1 + ], + input_zp: 56, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 5, + 10 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 10 + ], + type: "INT4", + data: [ + 42, + 20, + 225, + 103, + 79 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 194, + 212, + 89, + 217 + ] + }, + { + name: "result-0", + shape: [ + 1, + -43, + -15, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - -4, - -4 - ], - output_shape: [ - 1, - -43, - -15, - 1 - ], - input_zp: 56, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 12, - 5, - 10 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 10 - ], - type: "INT4", - data: [ - 42, - 20, - 225, - 103, - 79 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 194, - 212, - 89, - 217 - ] - }, - { - name: "result-0", - shape: [ - 1, - -43, - -15, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_os1x12x10x11/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_os1x12x10x11/test.json index 590c9a87b..81380b2b3 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_os1x12x10x11/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_os1x12x10x11/test.json @@ -5,508 +5,513 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 12, + 10, + 11 + ], + input_zp: 0, + weight_zp: -123, + accum_dtype: "FP32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 10, + 8 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 11, + 1, + 1, + 8 + ], + type: "BF16", + data: [ + 0, + 0, + 29, + 63, + 0, + 0, + 110, + 63, + 0, + 0, + 182, + 61, + 0, + 0, + 116, + 63, + 0, + 0, + 206, + 61, + 0, + 0, + 177, + 62, + 0, + 0, + 33, + 63, + 0, + 0, + 174, + 62, + 0, + 0, + 46, + 63, + 0, + 0, + 70, + 63, + 0, + 0, + 84, + 63, + 0, + 0, + 55, + 62, + 0, + 0, + 58, + 62, + 0, + 0, + 86, + 61, + 0, + 0, + 251, + 62, + 0, + 0, + 12, + 62, + 0, + 0, + 163, + 62, + 0, + 0, + 87, + 63, + 0, + 0, + 114, + 63, + 0, + 0, + 82, + 63, + 0, + 0, + 41, + 58, + 0, + 0, + 17, + 63, + 0, + 0, + 42, + 62, + 0, + 0, + 192, + 62, + 0, + 0, + 219, + 62, + 0, + 0, + 113, + 63, + 0, + 0, + 34, + 63, + 0, + 0, + 137, + 62, + 0, + 0, + 36, + 63, + 0, + 0, + 115, + 63, + 0, + 0, + 114, + 61, + 0, + 0, + 80, + 63, + 0, + 0, + 94, + 62, + 0, + 0, + 28, + 62, + 0, + 0, + 102, + 63, + 0, + 0, + 242, + 58, + 0, + 0, + 61, + 63, + 0, + 0, + 178, + 61, + 0, + 0, + 30, + 63, + 0, + 0, + 30, + 63, + 0, + 0, + 92, + 63, + 0, + 0, + 82, + 63, + 0, + 0, + 47, + 63, + 0, + 0, + 194, + 62, + 0, + 0, + 42, + 62, + 0, + 0, + 34, + 63, + 0, + 0, + 254, + 62, + 0, + 0, + 159, + 61, + 0, + 0, + 116, + 63, + 0, + 0, + 160, + 62, + 0, + 0, + 12, + 59, + 0, + 0, + 102, + 63, + 0, + 0, + 19, + 63, + 0, + 0, + 59, + 63, + 0, + 0, + 28, + 62, + 0, + 0, + 207, + 62, + 0, + 0, + 37, + 63, + 0, + 0, + 128, + 62, + 0, + 0, + 51, + 63, + 0, + 0, + 111, + 62, + 0, + 0, + 86, + 62, + 0, + 0, + 62, + 60, + 0, + 0, + 144, + 62, + 0, + 0, + 124, + 62, + 0, + 0, + 67, + 63, + 0, + 0, + 17, + 63, + 0, + 0, + 54, + 62, + 0, + 0, + 17, + 63, + 0, + 0, + 102, + 62, + 0, + 0, + 217, + 62, + 0, + 0, + 99, + 63, + 0, + 0, + 56, + 63, + 0, + 0, + 38, + 63, + 0, + 0, + 144, + 62, + 0, + 0, + 255, + 61, + 0, + 0, + 64, + 63, + 0, + 0, + 17, + 63, + 0, + 0, + 31, + 63, + 0, + 0, + 121, + 63, + 0, + 0, + 178, + 62, + 0, + 0, + 76, + 63, + 0, + 0, + 15, + 63, + 0, + 0, + 112, + 62, + 0, + 0, + 88, + 61, + 0, + 0, + 29, + 63, + 0, + 0, + 152, + 62, + 0, + 0, + 50, + 63, + 0, + 0, + 51, + 63 + ] + }, + { + name: "const-2", + shape: [ + 11 + ], + type: "FP32", + data: [ + 29, + 50, + 233, + 62, + 82, + 81, + 9, + 63, + 96, + 101, + 32, + 63, + 253, + 236, + 239, + 62, + 92, + 155, + 96, + 63, + 150, + 131, + 155, + 61, + 93, + 213, + 122, + 63, + 211, + 3, + 9, + 61, + 54, + 23, + 85, + 62, + 170, + 83, + 53, + 63, + 165, + 255, + 173, + 61 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 10, + 11 + ], + type: "FP32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 12, - 10, - 11 - ], - input_zp: 0, - weight_zp: -123, - accum_dtype: "FP32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 12, - 10, - 8 - ], - type: "BF16" - }, - { - name: "const-1", - shape: [ - 11, - 1, - 1, - 8 - ], - type: "BF16", - data: [ - 0, - 0, - 29, - 63, - 0, - 0, - 110, - 63, - 0, - 0, - 182, - 61, - 0, - 0, - 116, - 63, - 0, - 0, - 206, - 61, - 0, - 0, - 177, - 62, - 0, - 0, - 33, - 63, - 0, - 0, - 174, - 62, - 0, - 0, - 46, - 63, - 0, - 0, - 70, - 63, - 0, - 0, - 84, - 63, - 0, - 0, - 55, - 62, - 0, - 0, - 58, - 62, - 0, - 0, - 86, - 61, - 0, - 0, - 251, - 62, - 0, - 0, - 12, - 62, - 0, - 0, - 163, - 62, - 0, - 0, - 87, - 63, - 0, - 0, - 114, - 63, - 0, - 0, - 82, - 63, - 0, - 0, - 41, - 58, - 0, - 0, - 17, - 63, - 0, - 0, - 42, - 62, - 0, - 0, - 192, - 62, - 0, - 0, - 219, - 62, - 0, - 0, - 113, - 63, - 0, - 0, - 34, - 63, - 0, - 0, - 137, - 62, - 0, - 0, - 36, - 63, - 0, - 0, - 115, - 63, - 0, - 0, - 114, - 61, - 0, - 0, - 80, - 63, - 0, - 0, - 94, - 62, - 0, - 0, - 28, - 62, - 0, - 0, - 102, - 63, - 0, - 0, - 242, - 58, - 0, - 0, - 61, - 63, - 0, - 0, - 178, - 61, - 0, - 0, - 30, - 63, - 0, - 0, - 30, - 63, - 0, - 0, - 92, - 63, - 0, - 0, - 82, - 63, - 0, - 0, - 47, - 63, - 0, - 0, - 194, - 62, - 0, - 0, - 42, - 62, - 0, - 0, - 34, - 63, - 0, - 0, - 254, - 62, - 0, - 0, - 159, - 61, - 0, - 0, - 116, - 63, - 0, - 0, - 160, - 62, - 0, - 0, - 12, - 59, - 0, - 0, - 102, - 63, - 0, - 0, - 19, - 63, - 0, - 0, - 59, - 63, - 0, - 0, - 28, - 62, - 0, - 0, - 207, - 62, - 0, - 0, - 37, - 63, - 0, - 0, - 128, - 62, - 0, - 0, - 51, - 63, - 0, - 0, - 111, - 62, - 0, - 0, - 86, - 62, - 0, - 0, - 62, - 60, - 0, - 0, - 144, - 62, - 0, - 0, - 124, - 62, - 0, - 0, - 67, - 63, - 0, - 0, - 17, - 63, - 0, - 0, - 54, - 62, - 0, - 0, - 17, - 63, - 0, - 0, - 102, - 62, - 0, - 0, - 217, - 62, - 0, - 0, - 99, - 63, - 0, - 0, - 56, - 63, - 0, - 0, - 38, - 63, - 0, - 0, - 144, - 62, - 0, - 0, - 255, - 61, - 0, - 0, - 64, - 63, - 0, - 0, - 17, - 63, - 0, - 0, - 31, - 63, - 0, - 0, - 121, - 63, - 0, - 0, - 178, - 62, - 0, - 0, - 76, - 63, - 0, - 0, - 15, - 63, - 0, - 0, - 112, - 62, - 0, - 0, - 88, - 61, - 0, - 0, - 29, - 63, - 0, - 0, - 152, - 62, - 0, - 0, - 50, - 63, - 0, - 0, - 51, - 63 - ] - }, - { - name: "const-2", - shape: [ - 11 - ], - type: "FP32", - data: [ - 29, - 50, - 233, - 62, - 82, - 81, - 9, - 63, - 96, - 101, - 32, - 63, - 253, - 236, - 239, - 62, - 92, - 155, - 96, - 63, - 150, - 131, - 155, - 61, - 93, - 213, - 122, - 63, - 211, - 3, - 9, - 61, - 54, - 23, - 85, - 62, - 170, - 83, - 53, - 63, - 165, - 255, - 173, - 61 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 10, - 11 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/test.json index c8e209124..4cf27b3f5 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_os1x12x11x2/test.json @@ -5,133 +5,138 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 12, + 11, + 2 + ], + input_zp: -44, + weight_zp: 55, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2", + "eiDummyInput" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 11, + 6 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 6 + ], + type: "INT8", + data: [ + 184, + 156, + 213, + 183, + 84, + 103, + 222, + 149, + 150, + 211, + 246, + 7 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 93, + 201, + 219, + 205, + 104, + 87, + 193, + 218 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 11, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 12, - 11, - 2 - ], - input_zp: -44, - weight_zp: 55, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2", - "eiDummyInput" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 12, - 11, - 6 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 2, - 1, - 1, - 6 - ], - type: "INT8", - data: [ - 184, - 156, - 213, - 183, - 84, - 103, - 222, - 149, - 150, - 211, - 246, - 7 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 93, - 201, - 219, - 205, - 104, - 87, - 193, - 218 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 11, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_os1x12x10x7/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_os1x12x10x7/test.json index b496c1842..dd32ad9b1 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_os1x12x10x7/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_os1x12x10x7/test.json @@ -5,168 +5,173 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 12, + 10, + 7 + ], + input_zp: 0, + weight_zp: 0, + accum_dtype: "BOOL" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 10, + 7 + ], + type: "BOOL" + }, + { + name: "const-1", + shape: [ + 7, + 1, + 1, + 7 + ], + type: "BOOL", + data: [ + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1 + ] + }, + { + name: "const-2", + shape: [ + 7 + ], + type: "BOOL", + data: [ + 1, + 0, + 0, + 1, + 0, + 0, + 1 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 10, + 7 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 12, - 10, - 7 - ], - input_zp: 0, - weight_zp: 0, - accum_dtype: "BOOL" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 12, - 10, - 7 - ], - type: "BOOL" - }, - { - name: "const-1", - shape: [ - 7, - 1, - 1, - 7 - ], - type: "BOOL", - data: [ - 1, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 1, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 1, - 1, - 0, - 1, - 0, - 1, - 0, - 0, - 1, - 1, - 0, - 1, - 1, - 0, - 1, - 1, - 0, - 0, - 1, - 0, - 1 - ] - }, - { - name: "const-2", - shape: [ - 7 - ], - type: "BOOL", - data: [ - 1, - 0, - 0, - 1, - 0, - 0, - 1 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 10, - 7 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_os1x12x6x7/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_os1x12x6x7/test.json index 6a91e5ecd..f86e9b7c8 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_os1x12x6x7/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_os1x12x6x7/test.json @@ -5,260 +5,265 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 12, + 6, + 7 + ], + input_zp: 0, + weight_zp: -73, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 6, + 15 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 7, + 1, + 1, + 15 + ], + type: "INT8", + data: [ + 22, + 36, + 134, + 239, + 174, + 214, + 31, + 198, + 40, + 202, + 2, + 245, + 226, + 160, + 19, + 125, + 36, + 62, + 77, + 137, + 74, + 190, + 42, + 123, + 100, + 234, + 86, + 30, + 162, + 189, + 116, + 106, + 100, + 226, + 210, + 78, + 133, + 101, + 26, + 33, + 240, + 122, + 63, + 141, + 6, + 92, + 147, + 60, + 190, + 1, + 97, + 254, + 137, + 133, + 60, + 110, + 202, + 111, + 243, + 143, + 7, + 121, + 192, + 117, + 38, + 229, + 49, + 230, + 149, + 94, + 223, + 16, + 62, + 149, + 56, + 221, + 11, + 245, + 71, + 176, + 155, + 233, + 158, + 190, + 40, + 81, + 49, + 209, + 80, + 231, + 174, + 65, + 4, + 222, + 41, + 57, + 185, + 158, + 4, + 141, + 35, + 240, + 182, + 25, + 224 + ] + }, + { + name: "const-2", + shape: [ + 7 + ], + type: "INT48", + data: [ + 111, + 99, + 242, + 250, + 97, + 183, + 19, + 173, + 36, + 68, + 39, + 103, + 97, + 158, + 253, + 217, + 158, + 188, + 89, + 213, + 158, + 4, + 239, + 158, + 46, + 74, + 65, + 240, + 255, + 136, + 47, + 217, + 29, + 18, + 130, + 139, + 215, + 139, + 165, + 203, + 11, + 177 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 6, + 7 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 12, - 6, - 7 - ], - input_zp: 0, - weight_zp: -73, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ - "result-0", - "eiDummyOutput" + "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 12, - 6, - 15 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 7, - 1, - 1, - 15 - ], - type: "INT8", - data: [ - 22, - 36, - 134, - 239, - 174, - 214, - 31, - 198, - 40, - 202, - 2, - 245, - 226, - 160, - 19, - 125, - 36, - 62, - 77, - 137, - 74, - 190, - 42, - 123, - 100, - 234, - 86, - 30, - 162, - 189, - 116, - 106, - 100, - 226, - 210, - 78, - 133, - 101, - 26, - 33, - 240, - 122, - 63, - 141, - 6, - 92, - 147, - 60, - 190, - 1, - 97, - 254, - 137, - 133, - 60, - 110, - 202, - 111, - 243, - 143, - 7, - 121, - 192, - 117, - 38, - 229, - 49, - 230, - 149, - 94, - 223, - 16, - 62, - 149, - 56, - 221, - 11, - 245, - 71, - 176, - 155, - 233, - 158, - 190, - 40, - 81, - 49, - 209, - 80, - 231, - 174, - 65, - 4, - 222, - 41, - 57, - 185, - 158, - 4, - 141, - 35, - 240, - 182, - 25, - 224 - ] - }, - { - name: "const-2", - shape: [ - 7 - ], - type: "INT48", - data: [ - 111, - 99, - 242, - 250, - 97, - 183, - 19, - 173, - 36, - 68, - 39, - 103, - 97, - 158, - 253, - 217, - 158, - 188, - 89, - 213, - 158, - 4, - 239, - 158, - 46, - 74, - 65, - 240, - 255, - 136, - 47, - 217, - 29, - 18, - 130, - 139, - 215, - 139, - 165, - 203, - 11, - 177 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 6, - 7 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/test.json index 14ece2caa..3dce1ba6a 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_os1x4x2x14/test.json @@ -5,322 +5,327 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 4, + 2, + 14 + ], + input_zp: 0, + weight_zp: -64, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 2, + 9 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 14, + 1, + 1, + 9 + ], + type: "INT8", + data: [ + 102, + 251, + 98, + 237, + 115, + 188, + 237, + 227, + 72, + 139, + 84, + 133, + 208, + 24, + 165, + 253, + 127, + 82, + 135, + 23, + 24, + 145, + 38, + 5, + 46, + 204, + 193, + 60, + 56, + 169, + 183, + 22, + 84, + 179, + 184, + 78, + 50, + 102, + 72, + 116, + 176, + 197, + 188, + 142, + 71, + 41, + 150, + 178, + 176, + 231, + 244, + 201, + 110, + 182, + 15, + 240, + 227, + 83, + 122, + 129, + 246, + 158, + 239, + 29, + 233, + 207, + 207, + 204, + 211, + 223, + 48, + 152, + 138, + 4, + 46, + 194, + 179, + 31, + 226, + 60, + 165, + 159, + 13, + 228, + 58, + 1, + 218, + 168, + 169, + 65, + 185, + 0, + 81, + 101, + 196, + 156, + 70, + 47, + 212, + 23, + 176, + 51, + 58, + 204, + 247, + 213, + 136, + 160, + 117, + 244, + 165, + 139, + 218, + 123, + 226, + 127, + 253, + 67, + 73, + 135, + 129, + 108, + 110, + 161, + 37, + 108 + ] + }, + { + name: "const-2", + shape: [ + 14 + ], + type: "INT48", + data: [ + 223, + 75, + 211, + 112, + 64, + 81, + 118, + 165, + 50, + 206, + 134, + 109, + 143, + 37, + 15, + 44, + 219, + 25, + 68, + 6, + 252, + 153, + 120, + 219, + 235, + 2, + 232, + 208, + 98, + 241, + 163, + 207, + 52, + 206, + 116, + 40, + 30, + 81, + 7, + 104, + 75, + 237, + 16, + 94, + 84, + 232, + 78, + 59, + 38, + 68, + 1, + 90, + 131, + 151, + 184, + 129, + 73, + 1, + 122, + 84, + 37, + 122, + 233, + 180, + 69, + 180, + 202, + 11, + 240, + 140, + 166, + 113, + 190, + 194, + 123, + 217, + 209, + 167, + 237, + 18, + 158, + 231, + 16, + 161 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 2, + 14 + ], + type: "BF16" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 4, - 2, - 14 - ], - input_zp: 0, - weight_zp: -64, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 4, - 2, - 9 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 14, - 1, - 1, - 9 - ], - type: "INT8", - data: [ - 102, - 251, - 98, - 237, - 115, - 188, - 237, - 227, - 72, - 139, - 84, - 133, - 208, - 24, - 165, - 253, - 127, - 82, - 135, - 23, - 24, - 145, - 38, - 5, - 46, - 204, - 193, - 60, - 56, - 169, - 183, - 22, - 84, - 179, - 184, - 78, - 50, - 102, - 72, - 116, - 176, - 197, - 188, - 142, - 71, - 41, - 150, - 178, - 176, - 231, - 244, - 201, - 110, - 182, - 15, - 240, - 227, - 83, - 122, - 129, - 246, - 158, - 239, - 29, - 233, - 207, - 207, - 204, - 211, - 223, - 48, - 152, - 138, - 4, - 46, - 194, - 179, - 31, - 226, - 60, - 165, - 159, - 13, - 228, - 58, - 1, - 218, - 168, - 169, - 65, - 185, - 0, - 81, - 101, - 196, - 156, - 70, - 47, - 212, - 23, - 176, - 51, - 58, - 204, - 247, - 213, - 136, - 160, - 117, - 244, - 165, - 139, - 218, - 123, - 226, - 127, - 253, - 67, - 73, - 135, - 129, - 108, - 110, - 161, - 37, - 108 - ] - }, - { - name: "const-2", - shape: [ - 14 - ], - type: "INT48", - data: [ - 223, - 75, - 211, - 112, - 64, - 81, - 118, - 165, - 50, - 206, - 134, - 109, - 143, - 37, - 15, - 44, - 219, - 25, - 68, - 6, - 252, - 153, - 120, - 219, - 235, - 2, - 232, - 208, - 98, - 241, - 163, - 207, - 52, - 206, - 116, - 40, - 30, - 81, - 7, - 104, - 75, - 237, - 16, - 94, - 84, - 232, - 78, - 59, - 38, - 68, - 1, - 90, - 131, - 151, - 184, - 129, - 73, - 1, - 122, - 84, - 37, - 122, - 233, - 180, - 69, - 180, - 202, - 11, - 240, - 140, - 166, - 113, - 190, - 194, - 123, - 217, - 209, - 167, - 237, - 18, - 158, - 231, - 16, - 161 - ] - }, - { - name: "result-0", - shape: [ - 1, - 4, - 2, - 14 - ], - type: "BF16" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x14x5x7x10_i8xi4_acci32_st11_pad0000_os1x14x5x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x14x5x7x10_i8xi4_acci32_st11_pad0000_os1x14x5x2/test.json index aee1b393b..e89b2a37d 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x14x5x7x10_i8xi4_acci32_st11_pad0000_os1x14x5x2/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongRank_1x14x5x7x10_i8xi4_acci32_st11_pad0000_os1x14x5x2/test.json @@ -5,128 +5,133 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 14, + 5, + 2 + ], + input_zp: -38, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 14, + 5, + 7, + 10 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 1, + 1, + 7 + ], + type: "INT4", + data: [ + 166, + 150, + 26, + 33, + 169, + 20, + 190 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 237, + 96, + 1, + 183, + 164, + 160, + 145, + 206 + ] + }, + { + name: "result-0", + shape: [ + 1, + 14, + 5, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 14, - 5, - 2 - ], - input_zp: -38, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 14, - 5, - 7, - 10 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 2, - 1, - 1, - 7 - ], - type: "INT4", - data: [ - 166, - 150, - 26, - 33, - 169, - 20, - 190 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 237, - 96, - 1, - 183, - 164, - 160, - 145, - 206 - ] - }, - { - name: "result-0", - shape: [ - 1, - 14, - 5, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1