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/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/conv2d_2x2')
9 files changed, 1197 insertions, 1152 deletions
diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i16xi8_acci48_st12_pad9999_dilat17/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i16xi8_acci48_st12_pad9999_dilat17/test.json index e944aabe9..89471c019 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i16xi8_acci48_st12_pad9999_dilat17/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i16xi8_acci48_st12_pad9999_dilat17/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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 9, + 9, + 9 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 1, + 7 + ], + input_zp: 0, + weight_zp: -117, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 44, + 13 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 13 + ], + type: "INT8", + data: [ + 55, + 198, + 239, + 208, + 178, + 186, + 78, + 182, + 23, + 137, + 202, + 76, + 217, + 99, + 97, + 19, + 33, + 131, + 214, + 149, + 234, + 217, + 136, + 171, + 114, + 65, + 224, + 161, + 164, + 223, + 32, + 136, + 233, + 54, + 32, + 56, + 225, + 43, + 255, + 46, + 255, + 142, + 79, + 137, + 237, + 196, + 66, + 208, + 229, + 63, + 43, + 85 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 194, + 245, + 250, + 110, + 205, + 184 + ] + }, + { + name: "result-0", + shape: [ + 1, + 28, + 28, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 9, - 9 - ], - stride: [ - 1, - 2 - ], - dilation: [ - 1, - 7 - ], - input_zp: 0, - weight_zp: -117, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 44, - 13 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 13 - ], - type: "INT8", - data: [ - 55, - 198, - 239, - 208, - 178, - 186, - 78, - 182, - 23, - 137, - 202, - 76, - 217, - 99, - 97, - 19, - 33, - 131, - 214, - 149, - 234, - 217, - 136, - 171, - 114, - 65, - 224, - 161, - 164, - 223, - 32, - 136, - 233, - 54, - 32, - 56, - 225, - 43, - 255, - 46, - 255, - 142, - 79, - 137, - 237, - 196, - 66, - 208, - 229, - 63, - 43, - 85 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 194, - 245, - 250, - 110, - 205, - 184 - ] - }, - { - name: "result-0", - shape: [ - 1, - 28, - 28, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i16xi8_acci48_st21_pad9090_dilat77/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i16xi8_acci48_st21_pad9090_dilat77/test.json index 07356c5dd..2730d9748 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i16xi8_acci48_st21_pad9090_dilat77/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i16xi8_acci48_st21_pad9090_dilat77/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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 0, + 9, + 0 + ], + stride: [ + 2, + 1 + ], + dilation: [ + 7, + 7 + ], + input_zp: 0, + weight_zp: 91, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 44, + 13 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 13 + ], + type: "INT8", + data: [ + 59, + 140, + 199, + 159, + 165, + 72, + 99, + 99, + 157, + 64, + 147, + 164, + 103, + 53, + 64, + 187, + 64, + 0, + 54, + 70, + 9, + 140, + 159, + 235, + 130, + 64, + 245, + 126, + 202, + 158, + 248, + 224, + 0, + 131, + 50, + 137, + 86, + 46, + 144, + 61, + 109, + 196, + 158, + 225, + 11, + 234, + 183, + 67, + 119, + 155, + 100, + 233 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 214, + 48, + 249, + 210, + 59, + 33 + ] + }, + { + name: "result-0", + shape: [ + 1, + 7, + 46, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 9, - 0 - ], - stride: [ - 2, - 1 - ], - dilation: [ - 7, - 7 - ], - input_zp: 0, - weight_zp: 91, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 44, - 13 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 13 - ], - type: "INT8", - data: [ - 59, - 140, - 199, - 159, - 165, - 72, - 99, - 99, - 157, - 64, - 147, - 164, - 103, - 53, - 64, - 187, - 64, - 0, - 54, - 70, - 9, - 140, - 159, - 235, - 130, - 64, - 245, - 126, - 202, - 158, - 248, - 224, - 0, - 131, - 50, - 137, - 86, - 46, - 144, - 61, - 109, - 196, - 158, - 225, - 11, - 234, - 183, - 67, - 119, - 155, - 100, - 233 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 214, - 48, - 249, - 210, - 59, - 33 - ] - }, - { - name: "result-0", - shape: [ - 1, - 7, - 46, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i8xi8_acci32_st11_pad9099_dilat11/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i8xi8_acci32_st11_pad9099_dilat11/test.json index 391339e11..7f19129e6 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i8xi8_acci32_st11_pad9099_dilat11/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x11x44x13_i8xi8_acci32_st11_pad9099_dilat11/test.json @@ -5,166 +5,171 @@ _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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 0, + 9, + 9 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -128, + weight_zp: 36, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 44, + 13 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 13 + ], + type: "INT8", + data: [ + 108, + 224, + 49, + 125, + 95, + 29, + 59, + 196, + 11, + 68, + 227, + 15, + 253, + 110, + 7, + 103, + 40, + 92, + 242, + 105, + 25, + 123, + 62, + 204, + 72, + 54, + 70, + 93, + 203, + 210, + 248, + 177, + 149, + 10, + 77, + 155, + 209, + 205, + 114, + 108, + 128, + 179, + 151, + 56, + 109, + 174, + 26, + 106, + 108, + 37, + 200, + 41 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 212, + 238, + 36, + 205 + ] + }, + { + name: "result-0", + shape: [ + 1, + 19, + 61, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 9, - 9 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -128, - weight_zp: 36, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 44, - 13 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 13 - ], - type: "INT8", - data: [ - 108, - 224, - 49, - 125, - 95, - 29, - 59, - 196, - 11, - 68, - 227, - 15, - 253, - 110, - 7, - 103, - 40, - 92, - 242, - 105, - 25, - 123, - 62, - 204, - 72, - 54, - 70, - 93, - 203, - 210, - 248, - 177, - 149, - 10, - 77, - 155, - 209, - 205, - 114, - 108, - 128, - 179, - 151, - 56, - 109, - 174, - 26, - 106, - 108, - 37, - 200, - 41 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 212, - 238, - 36, - 205 - ] - }, - { - name: "result-0", - shape: [ - 1, - 19, - 61, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x49x42x28_i16xi8_acci48_st18_pad9000_dilat21/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x49x42x28_i16xi8_acci48_st18_pad9000_dilat21/test.json index 2cee5bbf6..aa0643ae0 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x49x42x28_i16xi8_acci48_st18_pad9000_dilat21/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x49x42x28_i16xi8_acci48_st18_pad9000_dilat21/test.json @@ -5,228 +5,233 @@ _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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 0, + 0, + 0 + ], + stride: [ + 1, + 8 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: -93, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49, + 42, + 28 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 28 + ], + type: "INT8", + data: [ + 9, + 101, + 95, + 223, + 152, + 193, + 80, + 110, + 57, + 108, + 215, + 22, + 76, + 205, + 116, + 44, + 128, + 59, + 217, + 115, + 135, + 117, + 143, + 189, + 161, + 7, + 28, + 111, + 138, + 202, + 106, + 79, + 167, + 233, + 104, + 84, + 244, + 19, + 142, + 19, + 2, + 126, + 175, + 113, + 146, + 23, + 209, + 242, + 179, + 181, + 209, + 204, + 25, + 201, + 26, + 151, + 116, + 197, + 224, + 186, + 237, + 153, + 79, + 169, + 151, + 188, + 218, + 173, + 154, + 174, + 7, + 178, + 15, + 113, + 36, + 128, + 71, + 104, + 201, + 202, + 220, + 112, + 91, + 151, + 216, + 129, + 220, + 187, + 47, + 33, + 4, + 170, + 198, + 168, + 86, + 131, + 175, + 93, + 51, + 72, + 46, + 192, + 56, + 160, + 215, + 83, + 158, + 174, + 92, + 66, + 156, + 224 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 128, + 172, + 37, + 40, + 230, + 99 + ] + }, + { + name: "result-0", + shape: [ + 1, + 56, + 6, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 0, - 0 - ], - stride: [ - 1, - 8 - ], - dilation: [ - 2, - 1 - ], - input_zp: 0, - weight_zp: -93, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49, - 42, - 28 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 28 - ], - type: "INT8", - data: [ - 9, - 101, - 95, - 223, - 152, - 193, - 80, - 110, - 57, - 108, - 215, - 22, - 76, - 205, - 116, - 44, - 128, - 59, - 217, - 115, - 135, - 117, - 143, - 189, - 161, - 7, - 28, - 111, - 138, - 202, - 106, - 79, - 167, - 233, - 104, - 84, - 244, - 19, - 142, - 19, - 2, - 126, - 175, - 113, - 146, - 23, - 209, - 242, - 179, - 181, - 209, - 204, - 25, - 201, - 26, - 151, - 116, - 197, - 224, - 186, - 237, - 153, - 79, - 169, - 151, - 188, - 218, - 173, - 154, - 174, - 7, - 178, - 15, - 113, - 36, - 128, - 71, - 104, - 201, - 202, - 220, - 112, - 91, - 151, - 216, - 129, - 220, - 187, - 47, - 33, - 4, - 170, - 198, - 168, - 86, - 131, - 175, - 93, - 51, - 72, - 46, - 192, - 56, - 160, - 215, - 83, - 158, - 174, - 92, - 66, - 156, - 224 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 128, - 172, - 37, - 40, - 230, - 99 - ] - }, - { - name: "result-0", - shape: [ - 1, - 56, - 6, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_acci32_st11_pad1001_dilat11/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_acci32_st11_pad1001_dilat11/test.json index d90d9c629..f5aec8bac 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_acci32_st11_pad1001_dilat11/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_acci32_st11_pad1001_dilat11/test.json @@ -5,116 +5,121 @@ _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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 0, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -67, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 75, + 156 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 141, + 71, + 80, + 110 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -67, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 75, - 156 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 141, - 71, - 80, - 110 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi8_acci32_st11_pad0101_dilat11/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi8_acci32_st11_pad0101_dilat11/test.json index 26ab31726..01c141b33 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi8_acci32_st11_pad0101_dilat11/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi8_acci32_st11_pad0101_dilat11/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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 1, + 0, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -23, + weight_zp: 15, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 1 + ], + type: "INT8", + data: [ + 249, + 190, + 164, + 43 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 66, + 75, + 245, + 210 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 0, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -23, - weight_zp: 15, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 1 - ], - type: "INT8", - data: [ - 249, - 190, - 164, - 43 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 66, - 75, - 245, - 210 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi8_acci32_st11_pad1111_dilat11/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi8_acci32_st11_pad1111_dilat11/test.json index 650465829..50d46d8b0 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi8_acci32_st11_pad1111_dilat11/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi8_acci32_st11_pad1111_dilat11/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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 1, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -58, + weight_zp: -68, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 1 + ], + type: "INT8", + data: [ + 84, + 231, + 34, + 193 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 61, + 171, + 245, + 176 + ] + }, + { + name: "result-0", + shape: [ + 1, + 6, + 65537, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 1, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -58, - weight_zp: -68, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 1 - ], - type: "INT8", - data: [ - 84, - 231, - 34, - 193 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 61, - 171, - 245, - 176 - ] - }, - { - name: "result-0", - shape: [ - 1, - 6, - 65537, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x65535x4x1_i8xi4_acci32_st11_pad0100_dilat11/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x65535x4x1_i8xi4_acci32_st11_pad0100_dilat11/test.json index b8890e4ac..ccd91abf3 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x65535x4x1_i8xi4_acci32_st11_pad0100_dilat11/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x65535x4x1_i8xi4_acci32_st11_pad0100_dilat11/test.json @@ -5,116 +5,121 @@ _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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 1, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 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, + 65535, + 4, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 6, + 85 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 103, + 175, + 34, + 22 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65535, + 3, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 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, - 65535, - 4, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 6, - 85 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 103, - 175, - 34, - 22 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65535, - 3, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x65535x4x1_i8xi4_acci32_st11_pad1110_dilat11/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x65535x4x1_i8xi4_acci32_st11_pad1110_dilat11/test.json index c973f409b..0bcaec6a0 100644 --- a/operators/tensor/conv2d_2x2/conv2d_2x2_1x65535x4x1_i8xi4_acci32_st11_pad1110_dilat11/test.json +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x65535x4x1_i8xi4_acci32_st11_pad1110_dilat11/test.json @@ -5,116 +5,121 @@ _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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 10, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65535, + 4, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 92, + 155 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 70, + 169, + 156, + 22 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 4, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 1, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 10, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65535, - 4, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 2, - 2, - 1 - ], - type: "INT4", - data: [ - 92, - 155 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 70, - 169, - 156, - 22 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 4, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |