diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 15:17:52 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 16:40:57 +0000 |
commit | b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch) | |
tree | 4b4737ff52e92c1c17922a972384930953a26a61 /operators/tensor/transpose_conv2d_2x2 | |
parent | 007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff) | |
download | conformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz |
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'operators/tensor/transpose_conv2d_2x2')
15 files changed, 1725 insertions, 1650 deletions
diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st12_pad000-1_os1x12x65x2/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st12_pad000-1_os1x12x65x2/test.json index 67bbac63f..fd1ed08f3 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st12_pad000-1_os1x12x65x2/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st12_pad000-1_os1x12x65x2/test.json @@ -5,148 +5,153 @@ _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, + 12, + 65, + 2 + ], + input_zp: 0, + weight_zp: -60, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 2, + 2, + 2, + 3 + ], + type: "INT8", + data: [ + 195, + 12, + 137, + 65, + 8, + 29, + 171, + 79, + 21, + 70, + 150, + 77, + 8, + 27, + 134, + 92, + 135, + 214, + 200, + 167, + 96, + 76, + 21, + 204 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 99, + 209, + 90, + 8, + 228, + 186, + 149, + 85, + 216, + 81, + 124, + 14 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 65, + 2 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - -1 - ], - stride: [ - 1, - 2 - ], - output_shape: [ - 1, - 12, - 65, - 2 - ], - input_zp: 0, - weight_zp: -60, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 2, - 2, - 2, - 3 - ], - type: "INT8", - data: [ - 195, - 12, - 137, - 65, - 8, - 29, - 171, - 79, - 21, - 70, - 150, - 77, - 8, - 27, - 134, - 92, - 135, - 214, - 200, - 167, - 96, - 76, - 21, - 204 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT48", - data: [ - 99, - 209, - 90, - 8, - 228, - 186, - 149, - 85, - 216, - 81, - 124, - 14 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 65, - 2 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st18_pad-11-1-1_os1x12x256x2/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st18_pad-11-1-1_os1x12x256x2/test.json index 6280900b7..6cd9360a3 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st18_pad-11-1-1_os1x12x256x2/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st18_pad-11-1-1_os1x12x256x2/test.json @@ -5,148 +5,153 @@ _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: [ + 1, + 8 + ], + output_shape: [ + 1, + 12, + 256, + 2 + ], + input_zp: 0, + weight_zp: 21, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 2, + 2, + 2, + 3 + ], + type: "INT8", + data: [ + 112, + 30, + 96, + 70, + 27, + 195, + 201, + 192, + 45, + 213, + 160, + 3, + 141, + 154, + 94, + 13, + 190, + 41, + 224, + 122, + 92, + 119, + 195, + 209 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 197, + 158, + 234, + 148, + 161, + 42, + 140, + 36, + 223, + 164, + 150, + 59 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 256, + 2 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - -1, - 1, - -1, - -1 - ], - stride: [ - 1, - 8 - ], - output_shape: [ - 1, - 12, - 256, - 2 - ], - input_zp: 0, - weight_zp: 21, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 2, - 2, - 2, - 3 - ], - type: "INT8", - data: [ - 112, - 30, - 96, - 70, - 27, - 195, - 201, - 192, - 45, - 213, - 160, - 3, - 141, - 154, - 94, - 13, - 190, - 41, - 224, - 122, - 92, - 119, - 195, - 209 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT48", - data: [ - 197, - 158, - 234, - 148, - 161, - 42, - 140, - 36, - 223, - 164, - 150, - 59 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 256, - 2 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json index 1c78afb70..607d5b7e3 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json @@ -5,148 +5,153 @@ _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, + -1, + -1, + -1 + ], + stride: [ + 8, + 1 + ], + output_shape: [ + 1, + 90, + 32, + 2 + ], + input_zp: 0, + weight_zp: 16, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 2, + 2, + 2, + 3 + ], + type: "INT8", + data: [ + 21, + 3, + 103, + 189, + 151, + 108, + 194, + 92, + 167, + 224, + 78, + 179, + 179, + 218, + 49, + 49, + 53, + 211, + 65, + 249, + 224, + 115, + 126, + 113 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 243, + 136, + 39, + 99, + 35, + 244, + 215, + 25, + 78, + 211, + 74, + 102 + ] + }, + { + name: "result-0", + shape: [ + 1, + 90, + 32, + 2 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 9, - -1, - -1, - -1 - ], - stride: [ - 8, - 1 - ], - output_shape: [ - 1, - 90, - 32, - 2 - ], - input_zp: 0, - weight_zp: 16, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 2, - 2, - 2, - 3 - ], - type: "INT8", - data: [ - 21, - 3, - 103, - 189, - 151, - 108, - 194, - 92, - 167, - 224, - 78, - 179, - 179, - 218, - 49, - 49, - 53, - 211, - 65, - 249, - 224, - 115, - 126, - 113 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT48", - data: [ - 243, - 136, - 39, - 99, - 35, - 244, - 215, - 25, - 78, - 211, - 74, - 102 - ] - }, - { - name: "result-0", - shape: [ - 1, - 90, - 32, - 2 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi4_acci32_st11_pad-1-1-1-1_os1x10x32x2/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi4_acci32_st11_pad-1-1-1-1_os1x10x32x2/test.json index c079600de..109cc42fd 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi4_acci32_st11_pad-1-1-1-1_os1x10x32x2/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi4_acci32_st11_pad-1-1-1-1_os1x10x32x2/test.json @@ -5,132 +5,137 @@ _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: [ + 1, + 1 + ], + output_shape: [ + 1, + 10, + 32, + 2 + ], + input_zp: 101, + 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, + 2, + 2, + 3 + ], + type: "INT4", + data: [ + 17, + 122, + 54, + 179, + 113, + 106, + 206, + 38, + 101, + 201, + 108, + 176 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 220, + 158, + 202, + 50, + 36, + 121, + 111, + 219 + ] + }, + { + name: "result-0", + shape: [ + 1, + 10, + 32, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - -1, - -1, - -1, - -1 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 10, - 32, - 2 - ], - input_zp: 101, - 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, - 2, - 2, - 3 - ], - type: "INT4", - data: [ - 17, - 122, - 54, - 179, - 113, - 106, - 206, - 38, - 101, - 201, - 108, - 176 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 220, - 158, - 202, - 50, - 36, - 121, - 111, - 219 - ] - }, - { - name: "result-0", - shape: [ - 1, - 10, - 32, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi4_acci32_st18_pad99-1-1_os1x30x256x2/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi4_acci32_st18_pad99-1-1_os1x30x256x2/test.json index 0c41cc78a..95cb08f1a 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi4_acci32_st18_pad99-1-1_os1x30x256x2/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi4_acci32_st18_pad99-1-1_os1x30x256x2/test.json @@ -5,132 +5,137 @@ _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, + -1, + -1 + ], + stride: [ + 1, + 8 + ], + output_shape: [ + 1, + 30, + 256, + 2 + ], + input_zp: 50, + 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, + 2, + 2, + 3 + ], + type: "INT4", + data: [ + 123, + 236, + 83, + 0, + 34, + 164, + 151, + 76, + 29, + 91, + 173, + 186 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 14, + 57, + 111, + 59, + 88, + 5, + 32, + 144 + ] + }, + { + name: "result-0", + shape: [ + 1, + 30, + 256, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 9, - 9, - -1, - -1 - ], - stride: [ - 1, - 8 - ], - output_shape: [ - 1, - 30, - 256, - 2 - ], - input_zp: 50, - 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, - 2, - 2, - 3 - ], - type: "INT4", - data: [ - 123, - 236, - 83, - 0, - 34, - 164, - 151, - 76, - 29, - 91, - 173, - 186 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 14, - 57, - 111, - 59, - 88, - 5, - 32, - 144 - ] - }, - { - name: "result-0", - shape: [ - 1, - 30, - 256, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi8_acci32_st81_pad-1001_os1x81x35x2/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi8_acci32_st81_pad-1001_os1x81x35x2/test.json index 63831f78f..149e590e4 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi8_acci32_st81_pad-1001_os1x81x35x2/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i8xi8_acci32_st81_pad-1001_os1x81x35x2/test.json @@ -5,144 +5,149 @@ _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: [ + 8, + 1 + ], + output_shape: [ + 1, + 81, + 35, + 2 + ], + input_zp: 40, + weight_zp: 113, + 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, + 2, + 2, + 3 + ], + type: "INT8", + data: [ + 126, + 164, + 223, + 99, + 116, + 96, + 219, + 7, + 95, + 235, + 99, + 50, + 176, + 180, + 21, + 16, + 96, + 201, + 56, + 108, + 53, + 250, + 114, + 1 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 243, + 44, + 19, + 238, + 250, + 218, + 53, + 67 + ] + }, + { + name: "result-0", + shape: [ + 1, + 81, + 35, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - -1, - 0, - 0, - 1 - ], - stride: [ - 8, - 1 - ], - output_shape: [ - 1, - 81, - 35, - 2 - ], - input_zp: 40, - weight_zp: 113, - 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, - 2, - 2, - 3 - ], - type: "INT8", - data: [ - 126, - 164, - 223, - 99, - 116, - 96, - 219, - 7, - 95, - 235, - 99, - 50, - 176, - 180, - 21, - 16, - 96, - 201, - 56, - 108, - 53, - 250, - 114, - 1 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 243, - 44, - 19, - 238, - 250, - 218, - 53, - 67 - ] - }, - { - name: "result-0", - shape: [ - 1, - 81, - 35, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st11_pad10-10_os1x51x33x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st11_pad10-10_os1x51x33x1/test.json index 4b035c1a1..41487bc93 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st11_pad10-10_os1x51x33x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st11_pad10-10_os1x51x33x1/test.json @@ -5,118 +5,123 @@ _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, + 51, + 33, + 1 + ], + input_zp: -110, + 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, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 111, + 183 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 106, + 21, + 199, + 90 + ] + }, + { + name: "result-0", + shape: [ + 1, + 51, + 33, + 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, - 51, - 33, - 1 - ], - input_zp: -110, - 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, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 111, - 183 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 106, - 21, - 199, - 90 - ] - }, - { - name: "result-0", - shape: [ - 1, - 51, - 33, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st21_pad1-11-1_os1x98x34x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st21_pad1-11-1_os1x98x34x1/test.json index 04c35d5c8..5bdd9cc81 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st21_pad1-11-1_os1x98x34x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st21_pad1-11-1_os1x98x34x1/test.json @@ -5,118 +5,123 @@ _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, + 98, + 34, + 1 + ], + input_zp: 59, + 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, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 16, + 251 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 142, + 131, + 181, + 38 + ] + }, + { + name: "result-0", + shape: [ + 1, + 98, + 34, + 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, - 98, - 34, - 1 - ], - input_zp: 59, - 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, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 16, - 251 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 142, - 131, - 181, - 38 - ] - }, - { - name: "result-0", - shape: [ - 1, - 98, - 34, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st22_pad0-111_os1x97x68x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st22_pad0-111_os1x97x68x1/test.json index 0928e261b..2930d5641 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st22_pad0-111_os1x97x68x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_acci32_st22_pad0-111_os1x97x68x1/test.json @@ -5,118 +5,123 @@ _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, + 2 + ], + output_shape: [ + 1, + 97, + 68, + 1 + ], + input_zp: -54, + 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, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 119, + 38 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 135, + 198, + 148, + 101 + ] + }, + { + name: "result-0", + shape: [ + 1, + 97, + 68, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - -1, - 1, - 1 - ], - stride: [ - 2, - 2 - ], - output_shape: [ - 1, - 97, - 68, - 1 - ], - input_zp: -54, - 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, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 119, - 38 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 135, - 198, - 148, - 101 - ] - }, - { - name: "result-0", - shape: [ - 1, - 97, - 68, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi8_acci32_st88_pad1-1-11_os1x386x258x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi8_acci32_st88_pad1-1-11_os1x386x258x1/test.json index e3c9406c5..b83658691 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi8_acci32_st88_pad1-1-11_os1x386x258x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi8_acci32_st88_pad1-1-11_os1x386x258x1/test.json @@ -5,120 +5,125 @@ _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: [ + 8, + 8 + ], + output_shape: [ + 1, + 386, + 258, + 1 + ], + input_zp: 9, + weight_zp: 56, + 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, + 2, + 2, + 1 + ], + type: "INT8", + data: [ + 23, + 195, + 246, + 148 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 112, + 243, + 239, + 155 + ] + }, + { + name: "result-0", + shape: [ + 1, + 386, + 258, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - -1, - -1, - 1 - ], - stride: [ - 8, - 8 - ], - output_shape: [ - 1, - 386, - 258, - 1 - ], - input_zp: 9, - weight_zp: 56, - 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, - 2, - 2, - 1 - ], - type: "INT8", - data: [ - 23, - 195, - 246, - 148 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 112, - 243, - 239, - 155 - ] - }, - { - name: "result-0", - shape: [ - 1, - 386, - 258, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st11_pad11-11_os1x65539x2x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st11_pad11-11_os1x65539x2x1/test.json index cf8416743..d96696c16 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st11_pad11-11_os1x65539x2x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st11_pad11-11_os1x65539x2x1/test.json @@ -5,118 +5,123 @@ _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: [ + 1, + 1 + ], + output_shape: [ + 1, + 65539, + 2, + 1 + ], + input_zp: -59, + 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, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 67, + 151 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 244, + 203, + 213, + 54 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65539, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 1, - 1, - -1, - 1 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 65539, - 2, - 1 - ], - input_zp: -59, - 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, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 67, - 151 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 244, - 203, - 213, - 54 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65539, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st12_pad0-10-1_os1x65536x1x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st12_pad0-10-1_os1x65536x1x1/test.json index 0ed41dee4..07370f85d 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st12_pad0-10-1_os1x65536x1x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st12_pad0-10-1_os1x65536x1x1/test.json @@ -5,118 +5,123 @@ _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: [ + 1, + 2 + ], + output_shape: [ + 1, + 65536, + 1, + 1 + ], + input_zp: -83, + 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, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 221, + 251 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 30, + 4, + 39, + 138 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 1, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - -1, - 0, - -1 - ], - stride: [ - 1, - 2 - ], - output_shape: [ - 1, - 65536, - 1, - 1 - ], - input_zp: -83, - 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, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 221, - 251 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 30, - 4, - 39, - 138 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st21_pad-1101_os1x131072x3x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st21_pad-1101_os1x131072x3x1/test.json index f15719244..27466a0be 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st21_pad-1101_os1x131072x3x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi4_acci32_st21_pad-1101_os1x131072x3x1/test.json @@ -5,118 +5,123 @@ _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: [ + 2, + 1 + ], + output_shape: [ + 1, + 131072, + 3, + 1 + ], + input_zp: -70, + 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, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 31, + 26 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 4, + 190, + 23, + 110 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131072, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - -1, - 1, - 0, - 1 - ], - stride: [ - 2, - 1 - ], - output_shape: [ - 1, - 131072, - 3, - 1 - ], - input_zp: -70, - 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, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 31, - 26 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 4, - 190, - 23, - 110 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131072, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi8_acci32_st11_pad00-10_os1x65537x1x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi8_acci32_st11_pad00-10_os1x65537x1x1/test.json index fa69d20f8..59e1389c0 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi8_acci32_st11_pad00-10_os1x65537x1x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi8_acci32_st11_pad00-10_os1x65537x1x1/test.json @@ -5,120 +5,125 @@ _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, + 65537, + 1, + 1 + ], + input_zp: 1, + weight_zp: 48, + 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, + 2, + 2, + 1 + ], + type: "INT8", + data: [ + 118, + 102, + 101, + 252 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 127, + 110, + 68, + 176 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65537, + 1, + 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, - 65537, - 1, - 1 - ], - input_zp: 1, - weight_zp: 48, - 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, - 2, - 2, - 1 - ], - type: "INT8", - data: [ - 118, - 102, - 101, - 252 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 127, - 110, - 68, - 176 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65537, - 1, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi8_acci32_st22_pad-1010_os1x131071x3x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi8_acci32_st22_pad-1010_os1x131071x3x1/test.json index 2ed146c36..a775e0655 100644 --- a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi8_acci32_st22_pad-1010_os1x131071x3x1/test.json +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x65536x1x1_i8xi8_acci32_st22_pad-1010_os1x131071x3x1/test.json @@ -5,120 +5,125 @@ _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, + 131071, + 3, + 1 + ], + input_zp: -28, + weight_zp: 57, + 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, + 2, + 2, + 1 + ], + type: "INT8", + data: [ + 213, + 102, + 97, + 185 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 92, + 57, + 251, + 103 + ] + }, + { + name: "result-0", + shape: [ + 1, + 131071, + 3, + 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, - 131071, - 3, - 1 - ], - input_zp: -28, - weight_zp: 57, - 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, - 2, - 2, - 1 - ], - type: "INT8", - data: [ - 213, - 102, - 97, - 185 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 92, - 57, - 251, - 103 - ] - }, - { - name: "result-0", - shape: [ - 1, - 131071, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |