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/depthwise_conv2d_1x1 | |
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/depthwise_conv2d_1x1')
34 files changed, 5880 insertions, 5710 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0001_dilat77/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0001_dilat77/test.json index 3ed262d9a..c801d66cb 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0001_dilat77/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0001_dilat77/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 7, + 7 + ], + input_zp: 0, + weight_zp: 7, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 227, + 190, + 151, + 197, + 100, + 236, + 188, + 195 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 218, + 164, + 13, + 76, + 179, + 205, + 1, + 108, + 194, + 238, + 39, + 78, + 215, + 156, + 128, + 87, + 204, + 57, + 24, + 141, + 182, + 8, + 100, + 134, + 52, + 18, + 205, + 169, + 15, + 237, + 226, + 28, + 220, + 249, + 204, + 225, + 143, + 71, + 80, + 239, + 238, + 230, + 115, + 243, + 49, + 139, + 126, + 178 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 34, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 7, - 7 - ], - input_zp: 0, - weight_zp: 7, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 227, - 190, - 151, - 197, - 100, - 236, - 188, - 195 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 218, - 164, - 13, - 76, - 179, - 205, - 1, - 108, - 194, - 238, - 39, - 78, - 215, - 156, - 128, - 87, - 204, - 57, - 24, - 141, - 182, - 8, - 100, - 134, - 52, - 18, - 205, - 169, - 15, - 237, - 226, - 28, - 220, - 249, - 204, - 225, - 143, - 71, - 80, - 239, - 238, - 230, - 115, - 243, - 49, - 139, - 126, - 178 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 34, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0010_dilat71/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0010_dilat71/test.json index cbb081ccc..ee58d4d46 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0010_dilat71/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0010_dilat71/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 7, + 1 + ], + input_zp: 0, + weight_zp: -34, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 7, + 63, + 51, + 109, + 193, + 221, + 89, + 201 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 231, + 58, + 138, + 122, + 210, + 135, + 159, + 99, + 22, + 119, + 186, + 116, + 98, + 53, + 107, + 1, + 145, + 155, + 55, + 242, + 125, + 154, + 165, + 252, + 52, + 101, + 153, + 102, + 143, + 101, + 12, + 92, + 4, + 142, + 229, + 108, + 182, + 74, + 252, + 120, + 144, + 91, + 101, + 60, + 133, + 13, + 1, + 219 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 34, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 1, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 7, - 1 - ], - input_zp: 0, - weight_zp: -34, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 7, - 63, - 51, - 109, - 193, - 221, - 89, - 201 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 231, - 58, - 138, - 122, - 210, - 135, - 159, - 99, - 22, - 119, - 186, - 116, - 98, - 53, - 107, - 1, - 145, - 155, - 55, - 242, - 125, - 154, - 165, - 252, - 52, - 101, - 153, - 102, - 143, - 101, - 12, - 92, - 4, - 142, - 229, - 108, - 182, - 74, - 252, - 120, - 144, - 91, - 101, - 60, - 133, - 13, - 1, - 219 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 34, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0090_dilat22/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0090_dilat22/test.json index 2ac4334ca..618b7bfbd 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0090_dilat22/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0090_dilat22/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 9, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 2, + 2 + ], + input_zp: 0, + weight_zp: -7, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 232, + 186, + 248, + 80, + 32, + 34, + 215, + 143 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 230, + 37, + 64, + 94, + 101, + 101, + 91, + 175, + 20, + 97, + 25, + 225, + 171, + 223, + 172, + 173, + 148, + 241, + 151, + 105, + 179, + 47, + 44, + 20, + 165, + 244, + 46, + 42, + 77, + 24, + 83, + 32, + 41, + 103, + 230, + 100, + 38, + 71, + 109, + 229, + 191, + 27, + 113, + 125, + 53, + 78, + 39, + 80 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 42, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 9, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 2, - 2 - ], - input_zp: 0, - weight_zp: -7, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 232, - 186, - 248, - 80, - 32, - 34, - 215, - 143 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 230, - 37, - 64, - 94, - 101, - 101, - 91, - 175, - 20, - 97, - 25, - 225, - 171, - 223, - 172, - 173, - 148, - 241, - 151, - 105, - 179, - 47, - 44, - 20, - 165, - 244, - 46, - 42, - 77, - 24, - 83, - 32, - 41, - 103, - 230, - 100, - 38, - 71, - 109, - 229, - 191, - 27, - 113, - 125, - 53, - 78, - 39, - 80 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 42, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0900_dilat12/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0900_dilat12/test.json index 6232557ea..f00d71e11 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0900_dilat12/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0900_dilat12/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 9, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 2 + ], + input_zp: 0, + weight_zp: 49, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 185, + 180, + 157, + 195, + 110, + 244, + 175, + 241 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 253, + 36, + 95, + 237, + 132, + 136, + 162, + 12, + 215, + 246, + 247, + 109, + 41, + 64, + 144, + 122, + 113, + 90, + 150, + 46, + 84, + 226, + 208, + 154, + 190, + 48, + 49, + 85, + 93, + 124, + 89, + 252, + 63, + 183, + 132, + 184, + 150, + 184, + 103, + 183, + 140, + 8, + 64, + 225, + 4, + 239, + 43, + 56 + ] + }, + { + name: "result-0", + shape: [ + 1, + 20, + 33, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 9, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 2 - ], - input_zp: 0, - weight_zp: 49, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 185, - 180, - 157, - 195, - 110, - 244, - 175, - 241 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 253, - 36, - 95, - 237, - 132, - 136, - 162, - 12, - 215, - 246, - 247, - 109, - 41, - 64, - 144, - 122, - 113, - 90, - 150, - 46, - 84, - 226, - 208, - 154, - 190, - 48, - 49, - 85, - 93, - 124, - 89, - 252, - 63, - 183, - 132, - 184, - 150, - 184, - 103, - 183, - 140, - 8, - 64, - 225, - 4, - 239, - 43, - 56 - ] - }, - { - name: "result-0", - shape: [ - 1, - 20, - 33, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0999_dilat77/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0999_dilat77/test.json index 7b368fa39..550514000 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0999_dilat77/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0999_dilat77/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 9, + 9, + 9 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 7, + 7 + ], + input_zp: 0, + weight_zp: -122, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 78, + 99, + 95, + 21, + 3, + 19, + 251, + 174 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 18, + 47, + 128, + 41, + 165, + 81, + 47, + 239, + 38, + 109, + 146, + 196, + 247, + 180, + 173, + 69, + 245, + 16, + 150, + 139, + 230, + 255, + 14, + 64, + 170, + 2, + 154, + 188, + 225, + 74, + 76, + 210, + 113, + 43, + 152, + 251, + 184, + 160, + 148, + 27, + 231, + 182, + 214, + 19, + 202, + 108, + 159, + 191 + ] + }, + { + name: "result-0", + shape: [ + 1, + 20, + 51, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 9, - 9, - 9 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 7, - 7 - ], - input_zp: 0, - weight_zp: -122, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 78, - 99, - 95, - 21, - 3, - 19, - 251, - 174 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 18, - 47, - 128, - 41, - 165, - 81, - 47, - 239, - 38, - 109, - 146, - 196, - 247, - 180, - 173, - 69, - 245, - 16, - 150, - 139, - 230, - 255, - 14, - 64, - 170, - 2, - 154, - 188, - 225, - 74, - 76, - 210, - 113, - 43, - 152, - 251, - 184, - 160, - 148, - 27, - 231, - 182, - 214, - 19, - 202, - 108, - 159, - 191 - ] - }, - { - name: "result-0", - shape: [ - 1, - 20, - 51, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad1101_dilat21/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad1101_dilat21/test.json index 18f025aea..5e91feeb1 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad1101_dilat21/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad1101_dilat21/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 0, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: 67, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 163, + 189, + 169, + 255, + 157, + 160, + 142, + 117 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 101, + 108, + 217, + 174, + 81, + 20, + 157, + 184, + 165, + 178, + 159, + 130, + 164, + 212, + 67, + 12, + 154, + 184, + 27, + 253, + 3, + 105, + 46, + 182, + 240, + 227, + 240, + 114, + 254, + 135, + 196, + 221, + 151, + 38, + 6, + 43, + 39, + 207, + 255, + 244, + 116, + 135, + 106, + 21, + 159, + 4, + 112, + 10 + ] + }, + { + name: "result-0", + shape: [ + 1, + 13, + 34, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 0, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 2, - 1 - ], - input_zp: 0, - weight_zp: 67, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 163, - 189, - 169, - 255, - 157, - 160, - 142, - 117 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 101, - 108, - 217, - 174, - 81, - 20, - 157, - 184, - 165, - 178, - 159, - 130, - 164, - 212, - 67, - 12, - 154, - 184, - 27, - 253, - 3, - 105, - 46, - 182, - 240, - 227, - 240, - 114, - 254, - 135, - 196, - 221, - 151, - 38, - 6, - 43, - 39, - 207, - 255, - 244, - 116, - 135, - 106, - 21, - 159, - 4, - 112, - 10 - ] - }, - { - name: "result-0", - shape: [ - 1, - 13, - 34, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9009_dilat12/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9009_dilat12/test.json index d00bac1a1..6c07d5c8f 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9009_dilat12/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9009_dilat12/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 0, + 0, + 9 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 2 + ], + input_zp: 0, + weight_zp: -99, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 120, + 176, + 237, + 135, + 33, + 90, + 208, + 8 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 241, + 117, + 110, + 71, + 255, + 123, + 153, + 201, + 242, + 176, + 184, + 31, + 28, + 167, + 235, + 89, + 73, + 54, + 139, + 172, + 125, + 72, + 169, + 101, + 165, + 12, + 154, + 44, + 52, + 51, + 161, + 219, + 132, + 43, + 110, + 227, + 5, + 60, + 81, + 159, + 16, + 196, + 125, + 131, + 210, + 235, + 82, + 246 + ] + }, + { + name: "result-0", + shape: [ + 1, + 20, + 42, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 0, - 9 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 2 - ], - input_zp: 0, - weight_zp: -99, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 120, - 176, - 237, - 135, - 33, - 90, - 208, - 8 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 241, - 117, - 110, - 71, - 255, - 123, - 153, - 201, - 242, - 176, - 184, - 31, - 28, - 167, - 235, - 89, - 73, - 54, - 139, - 172, - 125, - 72, - 169, - 101, - 165, - 12, - 154, - 44, - 52, - 51, - 161, - 219, - 132, - 43, - 110, - 227, - 5, - 60, - 81, - 159, - 16, - 196, - 125, - 131, - 210, - 235, - 82, - 246 - ] - }, - { - name: "result-0", - shape: [ - 1, - 20, - 42, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9900_dilat77/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9900_dilat77/test.json index e29ded29b..4f451a300 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9900_dilat77/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9900_dilat77/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 9, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 7, + 7 + ], + input_zp: 0, + weight_zp: -54, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 151, + 114, + 215, + 29, + 21, + 175, + 144, + 40 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 52, + 71, + 91, + 197, + 49, + 221, + 99, + 126, + 227, + 235, + 158, + 233, + 9, + 248, + 72, + 188, + 167, + 234, + 8, + 153, + 4, + 201, + 62, + 99, + 160, + 15, + 19, + 38, + 75, + 60, + 73, + 13, + 26, + 26, + 97, + 180, + 144, + 105, + 69, + 208, + 193, + 198, + 226, + 190, + 206, + 5, + 0, + 177 + ] + }, + { + name: "result-0", + shape: [ + 1, + 29, + 33, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 7, - 7 - ], - input_zp: 0, - weight_zp: -54, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 151, - 114, - 215, - 29, - 21, - 175, - 144, - 40 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 52, - 71, - 91, - 197, - 49, - 221, - 99, - 126, - 227, - 235, - 158, - 233, - 9, - 248, - 72, - 188, - 167, - 234, - 8, - 153, - 4, - 201, - 62, - 99, - 160, - 15, - 19, - 38, - 75, - 60, - 73, - 13, - 26, - 26, - 97, - 180, - 144, - 105, - 69, - 208, - 193, - 198, - 226, - 190, - 206, - 5, - 0, - 177 - ] - }, - { - name: "result-0", - shape: [ - 1, - 29, - 33, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9990_dilat71/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9990_dilat71/test.json index b02d9a669..70faf1929 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9990_dilat71/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad9990_dilat71/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 9, + 9, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 7, + 1 + ], + input_zp: 0, + weight_zp: 46, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 184, + 109, + 123, + 13, + 102, + 192, + 196, + 21 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 205, + 167, + 55, + 89, + 145, + 72, + 205, + 246, + 162, + 25, + 56, + 206, + 229, + 80, + 178, + 2, + 136, + 235, + 195, + 118, + 117, + 13, + 23, + 149, + 75, + 121, + 197, + 43, + 252, + 126, + 91, + 64, + 46, + 112, + 83, + 60, + 39, + 245, + 202, + 47, + 66, + 22, + 78, + 97, + 146, + 246, + 20, + 2 + ] + }, + { + name: "result-0", + shape: [ + 1, + 29, + 42, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 9, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 7, - 1 - ], - input_zp: 0, - weight_zp: 46, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 184, - 109, - 123, - 13, - 102, - 192, - 196, - 21 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 205, - 167, - 55, - 89, - 145, - 72, - 205, - 246, - 162, - 25, - 56, - 206, - 229, - 80, - 178, - 2, - 136, - 235, - 195, - 118, - 117, - 13, - 23, - 149, - 75, - 121, - 197, - 43, - 252, - 126, - 91, - 64, - 46, - 112, - 83, - 60, - 39, - 245, - 202, - 47, - 66, - 22, - 78, - 97, - 146, - 246, - 20, - 2 - ] - }, - { - name: "result-0", - shape: [ - 1, - 29, - 42, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st12_pad9999_dilat17/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st12_pad9999_dilat17/test.json index c6787cba5..74edc5da5 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st12_pad9999_dilat17/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st12_pad9999_dilat17/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 9, + 9, + 9 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 1, + 7 + ], + input_zp: 0, + weight_zp: 36, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 74, + 239, + 116, + 207, + 60, + 70, + 198, + 131 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 252, + 16, + 167, + 174, + 230, + 214, + 251, + 249, + 12, + 51, + 38, + 175, + 161, + 3, + 25, + 237, + 46, + 190, + 33, + 230, + 97, + 158, + 9, + 131, + 145, + 106, + 138, + 61, + 165, + 43, + 226, + 3, + 195, + 48, + 91, + 158, + 165, + 37, + 242, + 86, + 73, + 141, + 35, + 247, + 0, + 206, + 14, + 215 + ] + }, + { + name: "result-0", + shape: [ + 1, + 29, + 26, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 9, - 9 - ], - stride: [ - 1, - 2 - ], - dilation: [ - 1, - 7 - ], - input_zp: 0, - weight_zp: 36, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 74, - 239, - 116, - 207, - 60, - 70, - 198, - 131 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 252, - 16, - 167, - 174, - 230, - 214, - 251, - 249, - 12, - 51, - 38, - 175, - 161, - 3, - 25, - 237, - 46, - 190, - 33, - 230, - 97, - 158, - 9, - 131, - 145, - 106, - 138, - 61, - 165, - 43, - 226, - 3, - 195, - 48, - 91, - 158, - 165, - 37, - 242, - 86, - 73, - 141, - 35, - 247, - 0, - 206, - 14, - 215 - ] - }, - { - name: "result-0", - shape: [ - 1, - 29, - 26, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st18_pad9000_dilat21/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st18_pad9000_dilat21/test.json index 9f3c8d12b..ffaffa6e2 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st18_pad9000_dilat21/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st18_pad9000_dilat21/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 0, + 0, + 0 + ], + stride: [ + 1, + 8 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: 127, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 19, + 78, + 21, + 223, + 21, + 138, + 25, + 141 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 200, + 98, + 46, + 176, + 125, + 149, + 150, + 120, + 50, + 187, + 237, + 70, + 49, + 57, + 68, + 80, + 193, + 238, + 150, + 61, + 148, + 63, + 137, + 141, + 66, + 146, + 51, + 165, + 133, + 192, + 4, + 156, + 128, + 222, + 79, + 166, + 171, + 22, + 228, + 174, + 13, + 150, + 164, + 58, + 72, + 231, + 110, + 3 + ] + }, + { + name: "result-0", + shape: [ + 1, + 20, + 5, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 0, - 0 - ], - stride: [ - 1, - 8 - ], - dilation: [ - 2, - 1 - ], - input_zp: 0, - weight_zp: 127, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 19, - 78, - 21, - 223, - 21, - 138, - 25, - 141 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 200, - 98, - 46, - 176, - 125, - 149, - 150, - 120, - 50, - 187, - 237, - 70, - 49, - 57, - 68, - 80, - 193, - 238, - 150, - 61, - 148, - 63, - 137, - 141, - 66, - 146, - 51, - 165, - 133, - 192, - 4, - 156, - 128, - 222, - 79, - 166, - 171, - 22, - 228, - 174, - 13, - 150, - 164, - 58, - 72, - 231, - 110, - 3 - ] - }, - { - name: "result-0", - shape: [ - 1, - 20, - 5, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st22_pad0000_dilat21/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st22_pad0000_dilat21/test.json index 05ad59e20..a0451ca04 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st22_pad0000_dilat21/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st22_pad0000_dilat21/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 2, + 2 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: 72, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 68, + 231, + 113, + 85, + 255, + 205, + 156, + 126 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 214, + 141, + 80, + 4, + 128, + 55, + 14, + 12, + 181, + 223, + 244, + 36, + 155, + 105, + 123, + 244, + 160, + 165, + 65, + 141, + 128, + 231, + 249, + 97, + 121, + 134, + 112, + 61, + 0, + 102, + 251, + 22, + 47, + 223, + 208, + 149, + 25, + 113, + 197, + 228, + 147, + 83, + 254, + 113, + 84, + 205, + 86, + 103 + ] + }, + { + name: "result-0", + shape: [ + 1, + 6, + 17, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 2, - 2 - ], - dilation: [ - 2, - 1 - ], - input_zp: 0, - weight_zp: 72, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 68, - 231, - 113, - 85, - 255, - 205, - 156, - 126 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 214, - 141, - 80, - 4, - 128, - 55, - 14, - 12, - 181, - 223, - 244, - 36, - 155, - 105, - 123, - 244, - 160, - 165, - 65, - 141, - 128, - 231, - 249, - 97, - 121, - 134, - 112, - 61, - 0, - 102, - 251, - 22, - 47, - 223, - 208, - 149, - 25, - 113, - 197, - 228, - 147, - 83, - 254, - 113, - 84, - 205, - 86, - 103 - ] - }, - { - name: "result-0", - shape: [ - 1, - 6, - 17, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11/test.json index 8a1faaabb..ce401ec4e 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11/test.json @@ -5,150 +5,155 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 73, + weight_zp: -6, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 67, + 206, + 126, + 8, + 73, + 10, + 73, + 124 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 217, + 197, + 151, + 88, + 122, + 185, + 213, + 208, + 234, + 35, + 74, + 139, + 103, + 53, + 238, + 243, + 203, + 198, + 173, + 54, + 105, + 218, + 83, + 89, + 184, + 62, + 16, + 148, + 103, + 70, + 102, + 11 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 33, + 8 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 73, - weight_zp: -6, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 67, - 206, - 126, - 8, - 73, - 10, - 73, - 124 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT32", - data: [ - 217, - 197, - 151, - 88, - 122, - 185, - 213, - 208, - 234, - 35, - 74, - 139, - 103, - 53, - 238, - 243, - 203, - 198, - 173, - 54, - 105, - 218, - 83, - 89, - 184, - 62, - 16, - 148, - 103, - 70, - 102, - 11 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 33, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi4_acci32_st18_pad1000_dilat17/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi4_acci32_st18_pad1000_dilat17/test.json index 5ed763e7d..d735956c0 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi4_acci32_st18_pad1000_dilat17/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi4_acci32_st18_pad1000_dilat17/test.json @@ -5,119 +5,124 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 0, + 0 + ], + stride: [ + 1, + 8 + ], + dilation: [ + 1, + 7 + ], + input_zp: -13, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 65537, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 211 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 87, + 204, + 63, + 56, + 132, + 200, + 200, + 135 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 8193, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 0 - ], - stride: [ - 1, - 8 - ], - dilation: [ - 1, - 7 - ], - input_zp: -13, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 4, - 65537, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 2 - ], - type: "INT4", - data: [ - 211 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 87, - 204, - 63, - 56, - 132, - 200, - 200, - 135 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 8193, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi8_acci32_st11_pad1100_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi8_acci32_st11_pad1100_dilat11/test.json index d976a18ad..2fa6986c1 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi8_acci32_st11_pad1100_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi8_acci32_st11_pad1100_dilat11/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 63, + weight_zp: 77, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 65537, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "INT8", + data: [ + 162, + 174 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 188, + 170, + 12, + 183, + 65, + 57, + 114, + 240 + ] + }, + { + name: "result-0", + shape: [ + 1, + 6, + 65537, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 63, - weight_zp: 77, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 4, - 65537, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 2 - ], - type: "INT8", - data: [ - 162, - 174 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 188, - 170, - 12, - 183, - 65, - 57, - 114, - 240 - ] - }, - { - name: "result-0", - shape: [ - 1, - 6, - 65537, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi8_acci32_st18_pad0100_dilat17/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi8_acci32_st18_pad0100_dilat17/test.json index a63a4cffe..d6f35df1a 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi8_acci32_st18_pad0100_dilat17/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x4x65537x1_i8xi8_acci32_st18_pad0100_dilat17/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 1, + 0, + 0 + ], + stride: [ + 1, + 8 + ], + dilation: [ + 1, + 7 + ], + input_zp: 99, + weight_zp: 98, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 65537, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "INT8", + data: [ + 200, + 125 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 246, + 69, + 48, + 131, + 124, + 185, + 120, + 93 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 8193, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 0, - 0 - ], - stride: [ - 1, - 8 - ], - dilation: [ - 1, - 7 - ], - input_zp: 99, - weight_zp: 98, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 4, - 65537, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 2 - ], - type: "INT8", - data: [ - 200, - 125 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 246, - 69, - 48, - 131, - 124, - 185, - 120, - 93 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 8193, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi4_acci32_st11_pad0011_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi4_acci32_st11_pad0011_dilat11/test.json index f8e78a58d..ce232d1b0 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi4_acci32_st11_pad0011_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi4_acci32_st11_pad0011_dilat11/test.json @@ -5,119 +5,124 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 1, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + 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, + 65532, + 2, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 10 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 161, + 46, + 180, + 185, + 62, + 25, + 52, + 76 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65532, + 4, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 1, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - 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, - 65532, - 2, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 2 - ], - type: "INT4", - data: [ - 10 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 161, - 46, - 180, - 185, - 62, - 25, - 52, - 76 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65532, - 4, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi4_acci32_st11_pad1011_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi4_acci32_st11_pad1011_dilat11/test.json index 1805d73c2..0634a108d 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi4_acci32_st11_pad1011_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi4_acci32_st11_pad1011_dilat11/test.json @@ -5,119 +5,124 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 1, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 123, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65532, + 2, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 57 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 158, + 204, + 122, + 23, + 230, + 119, + 106, + 17 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65533, + 4, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 1, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 123, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65532, - 2, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 2 - ], - type: "INT4", - data: [ - 57 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 158, - 204, - 122, - 23, - 230, - 119, - 106, - 17 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65533, - 4, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi8_acci32_st11_pad0111_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi8_acci32_st11_pad0111_dilat11/test.json index 26005d5aa..16d5af5e1 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi8_acci32_st11_pad0111_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x65532x2x1_i8xi8_acci32_st11_pad0111_dilat11/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 1, + 1, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -31, + weight_zp: -4, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65532, + 2, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 2 + ], + type: "INT8", + data: [ + 134, + 180 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 239, + 123, + 235, + 7, + 242, + 195, + 156, + 234 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65533, + 4, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 1, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -31, - weight_zp: -4, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65532, - 2, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 2 - ], - type: "INT8", - data: [ - 134, - 180 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 239, - 123, - 235, - 7, - 242, - 195, - 156, - 234 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65533, - 4, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st12_pad0009_dilat21/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st12_pad0009_dilat21/test.json index 21f33ee6b..4d24b3b48 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st12_pad0009_dilat21/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st12_pad0009_dilat21/test.json @@ -5,152 +5,157 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 9 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: -25, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 44, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 3, + 2 + ], + type: "INT8", + data: [ + 3, + 91, + 236, + 55, + 207, + 220 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT48", + data: [ + 54, + 107, + 80, + 25, + 47, + 56, + 63, + 130, + 30, + 150, + 253, + 18, + 39, + 152, + 188, + 82, + 143, + 128, + 199, + 234, + 148, + 26, + 140, + 110, + 144, + 130, + 6, + 81, + 44, + 131, + 189, + 33, + 208, + 194, + 75, + 106 + ] + }, + { + name: "result-0", + shape: [ + 1, + 9, + 27, + 6 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 9 - ], - stride: [ - 1, - 2 - ], - dilation: [ - 2, - 1 - ], - input_zp: 0, - weight_zp: -25, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 9, - 44, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 3, - 2 - ], - type: "INT8", - data: [ - 3, - 91, - 236, - 55, - 207, - 220 - ] - }, - { - name: "const-2", - shape: [ - 6 - ], - type: "INT48", - data: [ - 54, - 107, - 80, - 25, - 47, - 56, - 63, - 130, - 30, - 150, - 253, - 18, - 39, - 152, - 188, - 82, - 143, - 128, - 199, - 234, - 148, - 26, - 140, - 110, - 144, - 130, - 6, - 81, - 44, - 131, - 189, - 33, - 208, - 194, - 75, - 106 - ] - }, - { - name: "result-0", - shape: [ - 1, - 9, - 27, - 6 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st12_pad9909_dilat21/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st12_pad9909_dilat21/test.json index bd1e5d638..1b8cb4f0f 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st12_pad9909_dilat21/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st12_pad9909_dilat21/test.json @@ -5,152 +5,157 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 9, + 0, + 9 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: -119, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 44, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 3, + 2 + ], + type: "INT8", + data: [ + 144, + 116, + 30, + 4, + 138, + 133 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT48", + data: [ + 125, + 30, + 139, + 201, + 138, + 72, + 175, + 172, + 152, + 185, + 54, + 60, + 33, + 27, + 158, + 198, + 249, + 61, + 103, + 109, + 100, + 74, + 69, + 120, + 96, + 165, + 32, + 191, + 194, + 95, + 157, + 79, + 206, + 187, + 169, + 253 + ] + }, + { + name: "result-0", + shape: [ + 1, + 27, + 27, + 6 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 0, - 9 - ], - stride: [ - 1, - 2 - ], - dilation: [ - 2, - 1 - ], - input_zp: 0, - weight_zp: -119, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 9, - 44, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 3, - 2 - ], - type: "INT8", - data: [ - 144, - 116, - 30, - 4, - 138, - 133 - ] - }, - { - name: "const-2", - shape: [ - 6 - ], - type: "INT48", - data: [ - 125, - 30, - 139, - 201, - 138, - 72, - 175, - 172, - 152, - 185, - 54, - 60, - 33, - 27, - 158, - 198, - 249, - 61, - 103, - 109, - 100, - 74, - 69, - 120, - 96, - 165, - 32, - 191, - 194, - 95, - 157, - 79, - 206, - 187, - 169, - 253 - ] - }, - { - name: "result-0", - shape: [ - 1, - 27, - 27, - 6 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st81_pad0001_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st81_pad0001_dilat11/test.json index b70ee5d6f..815202568 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st81_pad0001_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_acci48_st81_pad0001_dilat11/test.json @@ -5,152 +5,157 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 1 + ], + stride: [ + 8, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: -125, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 44, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 3, + 2 + ], + type: "INT8", + data: [ + 112, + 242, + 158, + 39, + 25, + 146 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT48", + data: [ + 201, + 251, + 116, + 222, + 217, + 15, + 231, + 181, + 241, + 132, + 30, + 148, + 171, + 209, + 110, + 158, + 81, + 70, + 13, + 228, + 242, + 188, + 29, + 45, + 95, + 240, + 132, + 49, + 135, + 14, + 48, + 105, + 253, + 6, + 223, + 40 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 45, + 6 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 1 - ], - stride: [ - 8, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 0, - weight_zp: -125, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 9, - 44, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 3, - 2 - ], - type: "INT8", - data: [ - 112, - 242, - 158, - 39, - 25, - 146 - ] - }, - { - name: "const-2", - shape: [ - 6 - ], - type: "INT48", - data: [ - 201, - 251, - 116, - 222, - 217, - 15, - 231, - 181, - 241, - 132, - 30, - 148, - 171, - 209, - 110, - 158, - 81, - 70, - 13, - 228, - 242, - 188, - 29, - 45, - 95, - 240, - 132, - 49, - 135, - 14, - 48, - 105, - 253, - 6, - 223, - 40 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 45, - 6 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_acci32_st21_pad0090_dilat21/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_acci32_st21_pad0090_dilat21/test.json index c8f30b889..244b246cf 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_acci32_st21_pad0090_dilat21/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_acci32_st21_pad0090_dilat21/test.json @@ -5,137 +5,142 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 9, + 0 + ], + stride: [ + 2, + 1 + ], + dilation: [ + 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, + 9, + 44, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 3, + 2 + ], + type: "INT4", + data: [ + 32, + 236, + 97 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT32", + data: [ + 109, + 141, + 130, + 143, + 161, + 164, + 162, + 111, + 246, + 228, + 240, + 80, + 46, + 195, + 142, + 88, + 107, + 198, + 49, + 140, + 175, + 139, + 94, + 17 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 53, + 6 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 9, - 0 - ], - stride: [ - 2, - 1 - ], - dilation: [ - 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, - 9, - 44, - 3 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 3, - 2 - ], - type: "INT4", - data: [ - 32, - 236, - 97 - ] - }, - { - name: "const-2", - shape: [ - 6 - ], - type: "INT32", - data: [ - 109, - 141, - 130, - 143, - 161, - 164, - 162, - 111, - 246, - 228, - 240, - 80, - 46, - 195, - 142, - 88, - 107, - 198, - 49, - 140, - 175, - 139, - 94, - 17 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 53, - 6 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json index 8bfbb8408..356780941 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json @@ -5,259 +5,264 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 72, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 5, + 11 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 11, + 3 + ], + type: "INT4", + data: [ + 196, + 11, + 146, + 160, + 236, + 201, + 114, + 212, + 247, + 94, + 78, + 219, + 199, + 245, + 247, + 224, + 12 + ] + }, + { + name: "const-2", + shape: [ + 33 + ], + type: "INT32", + data: [ + 153, + 220, + 2, + 88, + 16, + 57, + 188, + 18, + 73, + 212, + 78, + 1, + 113, + 106, + 65, + 223, + 176, + 235, + 183, + 69, + 177, + 164, + 13, + 217, + 62, + 16, + 215, + 188, + 98, + 211, + 21, + 149, + 7, + 165, + 139, + 95, + 44, + 232, + 185, + 146, + 188, + 179, + 74, + 88, + 36, + 241, + 248, + 224, + 29, + 213, + 166, + 128, + 8, + 89, + 27, + 109, + 148, + 110, + 167, + 61, + 246, + 20, + 24, + 57, + 97, + 169, + 68, + 12, + 148, + 247, + 179, + 66, + 10, + 55, + 21, + 162, + 73, + 121, + 250, + 187, + 9, + 3, + 57, + 11, + 241, + 33, + 10, + 60, + 102, + 1, + 162, + 22, + 191, + 135, + 4, + 232, + 215, + 139, + 0, + 44, + 25, + 57, + 52, + 143, + 248, + 1, + 26, + 2, + 128, + 128, + 18, + 229, + 221, + 116, + 135, + 255, + 36, + 217, + 153, + 161, + 8, + 2, + 65, + 103, + 73, + 12, + 140, + 90, + 147, + 26, + 81, + 113 + ] + }, + { + name: "result-0", + shape: [ + 1, + 6, + 6, + 33 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 72, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 4, - 5, - 11 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 11, - 3 - ], - type: "INT4", - data: [ - 196, - 11, - 146, - 160, - 236, - 201, - 114, - 212, - 247, - 94, - 78, - 219, - 199, - 245, - 247, - 224, - 12 - ] - }, - { - name: "const-2", - shape: [ - 33 - ], - type: "INT32", - data: [ - 153, - 220, - 2, - 88, - 16, - 57, - 188, - 18, - 73, - 212, - 78, - 1, - 113, - 106, - 65, - 223, - 176, - 235, - 183, - 69, - 177, - 164, - 13, - 217, - 62, - 16, - 215, - 188, - 98, - 211, - 21, - 149, - 7, - 165, - 139, - 95, - 44, - 232, - 185, - 146, - 188, - 179, - 74, - 88, - 36, - 241, - 248, - 224, - 29, - 213, - 166, - 128, - 8, - 89, - 27, - 109, - 148, - 110, - 167, - 61, - 246, - 20, - 24, - 57, - 97, - 169, - 68, - 12, - 148, - 247, - 179, - 66, - 10, - 55, - 21, - 162, - 73, - 121, - 250, - 187, - 9, - 3, - 57, - 11, - 241, - 33, - 10, - 60, - 102, - 1, - 162, - 22, - 191, - 135, - 4, - 232, - 215, - 139, - 0, - 44, - 25, - 57, - 52, - 143, - 248, - 1, - 26, - 2, - 128, - 128, - 18, - 229, - 221, - 116, - 135, - 255, - 36, - 217, - 153, - 161, - 8, - 2, - 65, - 103, - 73, - 12, - 140, - 90, - 147, - 26, - 81, - 113 - ] - }, - { - name: "result-0", - shape: [ - 1, - 6, - 6, - 33 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json index 7ca38644b..17062c26b 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i8xi4_acci32_st22_pad1001_dilat12/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 0, + 1 + ], + stride: [ + 2, + 2 + ], + dilation: [ + 1, + 2 + ], + input_zp: -102, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 7, + 4 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 1 + ], + type: "INT4", + data: [ + 203, + 147 + ] + }, + { + name: "const-2", + shape: [ + 4 + ], + type: "INT32", + data: [ + 118, + 4, + 83, + 52, + 191, + 128, + 137, + 20, + 6, + 29, + 240, + 40, + 178, + 76, + 93, + 92 + ] + }, + { + name: "result-0", + shape: [ + 1, + 6, + 4, + 4 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 1 - ], - stride: [ - 2, - 2 - ], - dilation: [ - 1, - 2 - ], - input_zp: -102, - 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, - 7, - 4 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 4, - 1 - ], - type: "INT4", - data: [ - 203, - 147 - ] - }, - { - name: "const-2", - shape: [ - 4 - ], - type: "INT32", - data: [ - 118, - 4, - 83, - 52, - 191, - 128, - 137, - 20, - 6, - 29, - 240, - 40, - 178, - 76, - 93, - 92 - ] - }, - { - name: "result-0", - shape: [ - 1, - 6, - 4, - 4 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json index 22c3adf6d..7a8759754 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json @@ -5,205 +5,210 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + -5, + -5 + ], + 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, + 14, + 5, + 7 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 7, + 3 + ], + type: "INT4", + data: [ + 201, + 26, + 117, + 60, + 221, + 50, + 161, + 223, + 153, + 175, + 4 + ] + }, + { + name: "const-2", + shape: [ + 21 + ], + type: "INT32", + data: [ + 145, + 60, + 103, + 142, + 206, + 164, + 56, + 188, + 245, + 150, + 85, + 124, + 87, + 243, + 86, + 53, + 37, + 44, + 177, + 14, + 33, + 14, + 225, + 131, + 195, + 184, + 46, + 139, + 16, + 51, + 115, + 104, + 144, + 200, + 163, + 76, + 254, + 196, + 53, + 115, + 243, + 130, + 225, + 78, + 214, + 80, + 161, + 128, + 0, + 140, + 57, + 78, + 106, + 150, + 51, + 245, + 249, + 221, + 61, + 49, + 19, + 60, + 240, + 233, + 32, + 5, + 148, + 56, + 232, + 170, + 133, + 87, + 246, + 237, + 121, + 121, + 238, + 186, + 108, + 10, + 159, + 50, + 109, + 199 + ] + }, + { + name: "result-0", + shape: [ + 1, + 14, + 5, + 21 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - -5, - -5 - ], - 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, - 14, - 5, - 7 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 7, - 3 - ], - type: "INT4", - data: [ - 201, - 26, - 117, - 60, - 221, - 50, - 161, - 223, - 153, - 175, - 4 - ] - }, - { - name: "const-2", - shape: [ - 21 - ], - type: "INT32", - data: [ - 145, - 60, - 103, - 142, - 206, - 164, - 56, - 188, - 245, - 150, - 85, - 124, - 87, - 243, - 86, - 53, - 37, - 44, - 177, - 14, - 33, - 14, - 225, - 131, - 195, - 184, - 46, - 139, - 16, - 51, - 115, - 104, - 144, - 200, - 163, - 76, - 254, - 196, - 53, - 115, - 243, - 130, - 225, - 78, - 214, - 80, - 161, - 128, - 0, - 140, - 57, - 78, - 106, - 150, - 51, - 245, - 249, - 221, - 61, - 49, - 19, - 60, - 240, - 233, - 32, - 5, - 148, - 56, - 232, - 170, - 133, - 87, - 246, - 237, - 121, - 121, - 238, - 186, - 108, - 10, - 159, - 50, - 109, - 199 - ] - }, - { - name: "result-0", - shape: [ - 1, - 14, - 5, - 21 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json index 1917b2651..550a4502a 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json @@ -5,124 +5,129 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 102, + weight_zp: 72, + 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: [ + 1, + 1, + 2, + 1 + ], + type: "INT8", + data: [ + 115, + 127 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 219, + 9, + 121, + 174, + 209, + 101, + 85, + 243, + 254, + 214, + 46, + 199 + ] + }, + { + name: "result-0", + shape: [ + 1, + 14, + 6, + 2 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 102, - weight_zp: 72, - 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: [ - 1, - 1, - 2, - 1 - ], - type: "INT8", - data: [ - 115, - 127 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT48", - data: [ - 219, - 9, - 121, - 174, - 209, - 101, - 85, - 243, - 254, - 214, - 46, - 199 - ] - }, - { - name: "result-0", - shape: [ - 1, - 14, - 6, - 2 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json index 289d97246..c8c294d5b 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_dilat11/test.json @@ -5,200 +5,205 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + -4, + -4 + ], + dilation: [ + 1, + 1 + ], + input_zp: -16, + 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, + 10, + 2 + ], + type: "INT4", + data: [ + 201, + 96, + 177, + 76, + 145, + 240, + 201, + 55, + 154, + 254 + ] + }, + { + name: "const-2", + shape: [ + 20 + ], + type: "INT32", + data: [ + 32, + 188, + 22, + 244, + 87, + 213, + 92, + 50, + 78, + 99, + 97, + 172, + 191, + 217, + 244, + 139, + 220, + 111, + 52, + 44, + 177, + 4, + 188, + 101, + 36, + 205, + 240, + 170, + 236, + 110, + 119, + 220, + 147, + 104, + 108, + 32, + 144, + 220, + 78, + 170, + 51, + 195, + 37, + 92, + 140, + 10, + 184, + 185, + 129, + 39, + 88, + 8, + 248, + 137, + 194, + 214, + 181, + 176, + 219, + 42, + 238, + 181, + 200, + 178, + 201, + 133, + 37, + 153, + 10, + 74, + 181, + 2, + 219, + 75, + 127, + 93, + 116, + 208, + 7, + 34 + ] + }, + { + name: "result-0", + shape: [ + 1, + -2, + 0, + 20 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - -4, - -4 - ], - dilation: [ - 1, - 1 - ], - input_zp: -16, - 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, - 10, - 2 - ], - type: "INT4", - data: [ - 201, - 96, - 177, - 76, - 145, - 240, - 201, - 55, - 154, - 254 - ] - }, - { - name: "const-2", - shape: [ - 20 - ], - type: "INT32", - data: [ - 32, - 188, - 22, - 244, - 87, - 213, - 92, - 50, - 78, - 99, - 97, - 172, - 191, - 217, - 244, - 139, - 220, - 111, - 52, - 44, - 177, - 4, - 188, - 101, - 36, - 205, - 240, - 170, - 236, - 110, - 119, - 220, - 147, - 104, - 108, - 32, - 144, - 220, - 78, - 170, - 51, - 195, - 37, - 92, - 140, - 10, - 184, - 185, - 129, - 39, - 88, - 8, - 248, - 137, - 194, - 214, - 181, - 176, - 219, - 42, - 238, - 181, - 200, - 178, - 201, - 133, - 37, - 153, - 10, - 74, - 181, - 2, - 219, - 75, - 127, - 93, - 116, - 208, - 7, - 34 - ] - }, - { - name: "result-0", - shape: [ - 1, - -2, - 0, - 20 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json index fa8e7785c..7ee954066 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WeightZeroPointNotZero_1x12x10x8_bf16xbf16_accf32_st11_pad0000_dilat11/test.json @@ -5,366 +5,371 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: -30, + 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: [ + 1, + 1, + 8, + 4 + ], + type: "BF16", + data: [ + 0, + 0, + 59, + 63, + 0, + 0, + 43, + 62, + 0, + 0, + 33, + 63, + 0, + 0, + 157, + 62, + 0, + 0, + 195, + 62, + 0, + 0, + 56, + 63, + 0, + 0, + 146, + 61, + 0, + 0, + 175, + 62, + 0, + 0, + 200, + 62, + 0, + 0, + 55, + 63, + 0, + 0, + 76, + 62, + 0, + 0, + 114, + 63, + 0, + 0, + 127, + 63, + 0, + 0, + 81, + 63, + 0, + 0, + 153, + 62, + 0, + 0, + 41, + 63, + 0, + 0, + 170, + 61, + 0, + 0, + 95, + 63, + 0, + 0, + 4, + 63, + 0, + 0, + 52, + 62, + 0, + 0, + 167, + 62, + 0, + 0, + 76, + 63, + 0, + 0, + 94, + 63, + 0, + 0, + 5, + 63, + 0, + 0, + 245, + 62, + 0, + 0, + 64, + 63, + 0, + 0, + 83, + 63, + 0, + 0, + 67, + 63, + 0, + 0, + 196, + 62, + 0, + 0, + 36, + 63, + 0, + 0, + 91, + 63, + 0, + 0, + 27, + 62 + ] + }, + { + name: "const-2", + shape: [ + 32 + ], + type: "FP32", + data: [ + 218, + 185, + 198, + 62, + 52, + 233, + 103, + 61, + 93, + 88, + 209, + 62, + 71, + 180, + 69, + 63, + 211, + 193, + 73, + 62, + 30, + 185, + 10, + 63, + 236, + 218, + 21, + 61, + 100, + 204, + 101, + 63, + 212, + 235, + 81, + 63, + 174, + 63, + 6, + 63, + 117, + 174, + 52, + 63, + 0, + 210, + 212, + 61, + 166, + 95, + 88, + 63, + 97, + 27, + 55, + 63, + 119, + 177, + 245, + 61, + 116, + 14, + 123, + 63, + 196, + 145, + 184, + 60, + 23, + 230, + 32, + 63, + 139, + 224, + 47, + 62, + 69, + 33, + 56, + 63, + 39, + 49, + 144, + 61, + 56, + 24, + 166, + 61, + 203, + 189, + 238, + 62, + 104, + 119, + 126, + 63, + 137, + 147, + 141, + 62, + 165, + 206, + 28, + 63, + 233, + 194, + 4, + 63, + 39, + 149, + 87, + 63, + 4, + 194, + 147, + 62, + 214, + 16, + 14, + 63, + 16, + 92, + 115, + 63, + 176, + 72, + 170, + 62 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 10, + 32 + ], + type: "FP32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 0, - weight_zp: -30, - 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: [ - 1, - 1, - 8, - 4 - ], - type: "BF16", - data: [ - 0, - 0, - 59, - 63, - 0, - 0, - 43, - 62, - 0, - 0, - 33, - 63, - 0, - 0, - 157, - 62, - 0, - 0, - 195, - 62, - 0, - 0, - 56, - 63, - 0, - 0, - 146, - 61, - 0, - 0, - 175, - 62, - 0, - 0, - 200, - 62, - 0, - 0, - 55, - 63, - 0, - 0, - 76, - 62, - 0, - 0, - 114, - 63, - 0, - 0, - 127, - 63, - 0, - 0, - 81, - 63, - 0, - 0, - 153, - 62, - 0, - 0, - 41, - 63, - 0, - 0, - 170, - 61, - 0, - 0, - 95, - 63, - 0, - 0, - 4, - 63, - 0, - 0, - 52, - 62, - 0, - 0, - 167, - 62, - 0, - 0, - 76, - 63, - 0, - 0, - 94, - 63, - 0, - 0, - 5, - 63, - 0, - 0, - 245, - 62, - 0, - 0, - 64, - 63, - 0, - 0, - 83, - 63, - 0, - 0, - 67, - 63, - 0, - 0, - 196, - 62, - 0, - 0, - 36, - 63, - 0, - 0, - 91, - 63, - 0, - 0, - 27, - 62 - ] - }, - { - name: "const-2", - shape: [ - 32 - ], - type: "FP32", - data: [ - 218, - 185, - 198, - 62, - 52, - 233, - 103, - 61, - 93, - 88, - 209, - 62, - 71, - 180, - 69, - 63, - 211, - 193, - 73, - 62, - 30, - 185, - 10, - 63, - 236, - 218, - 21, - 61, - 100, - 204, - 101, - 63, - 212, - 235, - 81, - 63, - 174, - 63, - 6, - 63, - 117, - 174, - 52, - 63, - 0, - 210, - 212, - 61, - 166, - 95, - 88, - 63, - 97, - 27, - 55, - 63, - 119, - 177, - 245, - 61, - 116, - 14, - 123, - 63, - 196, - 145, - 184, - 60, - 23, - 230, - 32, - 63, - 139, - 224, - 47, - 62, - 69, - 33, - 56, - 63, - 39, - 49, - 144, - 61, - 56, - 24, - 166, - 61, - 203, - 189, - 238, - 62, - 104, - 119, - 126, - 63, - 137, - 147, - 141, - 62, - 165, - 206, - 28, - 63, - 233, - 194, - 4, - 63, - 39, - 149, - 87, - 63, - 4, - 194, - 147, - 62, - 214, - 16, - 14, - 63, - 16, - 92, - 115, - 63, - 176, - 72, - 170, - 62 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 10, - 32 - ], - type: "FP32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json index 96c535f09..abf1cdbe7 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputList_1x12x11x6_i8xi8_acci32_st11_pad0000_dilat11/test.json @@ -5,201 +5,206 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 36, + 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: [ + 1, + 1, + 6, + 3 + ], + type: "INT8", + data: [ + 94, + 167, + 60, + 177, + 17, + 97, + 143, + 165, + 80, + 132, + 47, + 0, + 216, + 92, + 89, + 211, + 129, + 160 + ] + }, + { + name: "const-2", + shape: [ + 18 + ], + type: "INT32", + data: [ + 101, + 62, + 124, + 155, + 202, + 122, + 115, + 123, + 153, + 225, + 205, + 24, + 41, + 190, + 62, + 45, + 188, + 147, + 28, + 187, + 123, + 220, + 198, + 89, + 188, + 221, + 0, + 57, + 65, + 34, + 140, + 64, + 210, + 202, + 222, + 247, + 115, + 1, + 192, + 50, + 200, + 244, + 70, + 11, + 107, + 202, + 114, + 226, + 3, + 189, + 48, + 24, + 31, + 242, + 7, + 211, + 76, + 191, + 237, + 115, + 57, + 153, + 138, + 55, + 224, + 16, + 46, + 61, + 242, + 128, + 122, + 55 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 11, + 18 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 36, - 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: [ - 1, - 1, - 6, - 3 - ], - type: "INT8", - data: [ - 94, - 167, - 60, - 177, - 17, - 97, - 143, - 165, - 80, - 132, - 47, - 0, - 216, - 92, - 89, - 211, - 129, - 160 - ] - }, - { - name: "const-2", - shape: [ - 18 - ], - type: "INT32", - data: [ - 101, - 62, - 124, - 155, - 202, - 122, - 115, - 123, - 153, - 225, - 205, - 24, - 41, - 190, - 62, - 45, - 188, - 147, - 28, - 187, - 123, - 220, - 198, - 89, - 188, - 221, - 0, - 57, - 65, - 34, - 140, - 64, - 210, - 202, - 222, - 247, - 115, - 1, - 192, - 50, - 200, - 244, - 70, - 11, - 107, - 202, - 114, - 226, - 3, - 189, - 48, - 24, - 31, - 242, - 7, - 211, - 76, - 191, - 237, - 115, - 57, - 153, - 138, - 55, - 224, - 16, - 46, - 61, - 242, - 128, - 122, - 55 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 11, - 18 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json index e2547ed68..211fa0b62 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x12x10x7_bxb_accb_st11_pad0000_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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + 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: [ + 1, + 1, + 7, + 4 + ], + type: "BOOL", + data: [ + 1, + 0, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1, + 1, + 1, + 0 + ] + }, + { + name: "const-2", + shape: [ + 28 + ], + type: "BOOL", + data: [ + 1, + 1, + 1, + 1, + 0, + 1, + 0, + 1, + 0, + 0, + 0, + 1, + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 1, + 1, + 0, + 1, + 0, + 0 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 10, + 28 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - 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: [ - 1, - 1, - 7, - 4 - ], - type: "BOOL", - data: [ - 1, - 0, - 0, - 1, - 1, - 0, - 1, - 1, - 0, - 1, - 1, - 0, - 0, - 1, - 0, - 1, - 1, - 0, - 0, - 1, - 0, - 0, - 1, - 1, - 1, - 1, - 1, - 0 - ] - }, - { - name: "const-2", - shape: [ - 28 - ], - type: "BOOL", - data: [ - 1, - 1, - 1, - 1, - 0, - 1, - 0, - 1, - 0, - 0, - 0, - 1, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0 - ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 10, - 28 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json index 076e7292d..3faecea0a 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json @@ -5,530 +5,535 @@ _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: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 0, - weight_zp: -95, - accum_dtype: "INT48" - }, - inputs: [ - "input-0", - "const-1", - "const-2" - ], - outputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: -95, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ - ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 12, - 6, - 15 + ] + } ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 15, - 4 + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 6, + 15 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 15, + 4 + ], + type: "INT8", + data: [ + 17, + 124, + 27, + 180, + 107, + 74, + 240, + 165, + 231, + 77, + 19, + 175, + 168, + 119, + 242, + 47, + 220, + 151, + 233, + 49, + 213, + 26, + 240, + 214, + 193, + 194, + 193, + 56, + 214, + 61, + 207, + 211, + 108, + 96, + 230, + 196, + 55, + 145, + 244, + 25, + 44, + 155, + 128, + 198, + 158, + 1, + 107, + 201, + 244, + 183, + 139, + 52, + 193, + 12, + 46, + 86, + 175, + 20, + 105, + 251 + ] + }, + { + name: "const-2", + shape: [ + 60 + ], + type: "INT48", + data: [ + 101, + 10, + 62, + 178, + 225, + 194, + 116, + 203, + 69, + 212, + 196, + 74, + 130, + 80, + 111, + 35, + 102, + 178, + 177, + 74, + 95, + 174, + 2, + 190, + 176, + 189, + 171, + 89, + 114, + 87, + 238, + 11, + 26, + 203, + 190, + 61, + 161, + 192, + 231, + 70, + 229, + 28, + 13, + 223, + 38, + 178, + 246, + 137, + 34, + 179, + 140, + 244, + 147, + 160, + 162, + 229, + 76, + 54, + 253, + 255, + 66, + 23, + 84, + 17, + 16, + 63, + 204, + 191, + 113, + 80, + 207, + 246, + 119, + 79, + 206, + 80, + 109, + 132, + 112, + 232, + 145, + 81, + 44, + 175, + 186, + 215, + 23, + 106, + 185, + 22, + 105, + 175, + 143, + 53, + 184, + 49, + 171, + 219, + 5, + 194, + 142, + 136, + 190, + 253, + 47, + 202, + 23, + 139, + 194, + 255, + 63, + 56, + 229, + 194, + 137, + 216, + 250, + 93, + 96, + 149, + 255, + 117, + 255, + 252, + 188, + 10, + 78, + 244, + 222, + 238, + 170, + 159, + 86, + 9, + 204, + 179, + 241, + 37, + 155, + 12, + 16, + 61, + 248, + 70, + 207, + 9, + 179, + 199, + 115, + 120, + 95, + 136, + 115, + 204, + 202, + 114, + 107, + 32, + 44, + 66, + 251, + 197, + 115, + 116, + 65, + 99, + 135, + 135, + 89, + 26, + 231, + 91, + 84, + 212, + 174, + 188, + 251, + 243, + 94, + 53, + 57, + 22, + 206, + 33, + 79, + 143, + 241, + 167, + 244, + 32, + 22, + 220, + 200, + 202, + 250, + 253, + 75, + 204, + 226, + 92, + 28, + 9, + 39, + 184, + 57, + 68, + 50, + 252, + 196, + 52, + 162, + 120, + 209, + 148, + 186, + 40, + 34, + 20, + 21, + 36, + 22, + 9, + 105, + 117, + 219, + 134, + 40, + 105, + 105, + 108, + 207, + 78, + 103, + 154, + 122, + 178, + 115, + 8, + 82, + 166, + 184, + 232, + 23, + 194, + 41, + 226, + 215, + 200, + 218, + 226, + 231, + 39, + 1, + 119, + 114, + 56, + 134, + 21, + 198, + 46, + 41, + 118, + 244, + 146, + 43, + 196, + 243, + 83, + 91, + 117, + 166, + 220, + 81, + 186, + 24, + 206, + 167, + 91, + 20, + 161, + 229, + 219, + 218, + 179, + 215, + 51, + 166, + 31, + 229, + 203, + 10, + 94, + 246, + 113, + 115, + 100, + 186, + 239, + 165, + 41, + 27, + 128, + 97, + 6, + 108, + 116, + 160, + 90, + 184, + 248, + 5, + 176, + 251, + 96, + 215, + 83, + 106, + 30, + 15, + 244, + 52, + 104, + 49, + 84, + 179, + 4, + 116, + 109, + 79, + 2, + 188, + 40, + 253, + 105, + 183, + 220, + 166, + 241, + 144, + 34, + 25, + 124, + 87, + 39, + 16, + 191, + 23, + 164, + 65, + 178, + 113, + 173, + 50, + 233, + 206, + 110, + 24, + 108, + 149, + 95 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 6, + 60 + ], + type: "INT48" + } ], - type: "INT8", - data: [ - 17, - 124, - 27, - 180, - 107, - 74, - 240, - 165, - 231, - 77, - 19, - 175, - 168, - 119, - 242, - 47, - 220, - 151, - 233, - 49, - 213, - 26, - 240, - 214, - 193, - 194, - 193, - 56, - 214, - 61, - 207, - 211, - 108, - 96, - 230, - 196, - 55, - 145, - 244, - 25, - 44, - 155, - 128, - 198, - 158, - 1, - 107, - 201, - 244, - 183, - 139, - 52, - 193, - 12, - 46, - 86, - 175, - 20, - 105, - 251 - ] - }, - { - name: "const-2", - shape: [ - 60 + inputs: [ + "input-0" ], - type: "INT48", - data: [ - 101, - 10, - 62, - 178, - 225, - 194, - 116, - 203, - 69, - 212, - 196, - 74, - 130, - 80, - 111, - 35, - 102, - 178, - 177, - 74, - 95, - 174, - 2, - 190, - 176, - 189, - 171, - 89, - 114, - 87, - 238, - 11, - 26, - 203, - 190, - 61, - 161, - 192, - 231, - 70, - 229, - 28, - 13, - 223, - 38, - 178, - 246, - 137, - 34, - 179, - 140, - 244, - 147, - 160, - 162, - 229, - 76, - 54, - 253, - 255, - 66, - 23, - 84, - 17, - 16, - 63, - 204, - 191, - 113, - 80, - 207, - 246, - 119, - 79, - 206, - 80, - 109, - 132, - 112, - 232, - 145, - 81, - 44, - 175, - 186, - 215, - 23, - 106, - 185, - 22, - 105, - 175, - 143, - 53, - 184, - 49, - 171, - 219, - 5, - 194, - 142, - 136, - 190, - 253, - 47, - 202, - 23, - 139, - 194, - 255, - 63, - 56, - 229, - 194, - 137, - 216, - 250, - 93, - 96, - 149, - 255, - 117, - 255, - 252, - 188, - 10, - 78, - 244, - 222, - 238, - 170, - 159, - 86, - 9, - 204, - 179, - 241, - 37, - 155, - 12, - 16, - 61, - 248, - 70, - 207, - 9, - 179, - 199, - 115, - 120, - 95, - 136, - 115, - 204, - 202, - 114, - 107, - 32, - 44, - 66, - 251, - 197, - 115, - 116, - 65, - 99, - 135, - 135, - 89, - 26, - 231, - 91, - 84, - 212, - 174, - 188, - 251, - 243, - 94, - 53, - 57, - 22, - 206, - 33, - 79, - 143, - 241, - 167, - 244, - 32, - 22, - 220, - 200, - 202, - 250, - 253, - 75, - 204, - 226, - 92, - 28, - 9, - 39, - 184, - 57, - 68, - 50, - 252, - 196, - 52, - 162, - 120, - 209, - 148, - 186, - 40, - 34, - 20, - 21, - 36, - 22, - 9, - 105, - 117, - 219, - 134, - 40, - 105, - 105, - 108, - 207, - 78, - 103, - 154, - 122, - 178, - 115, - 8, - 82, - 166, - 184, - 232, - 23, - 194, - 41, - 226, - 215, - 200, - 218, - 226, - 231, - 39, - 1, - 119, - 114, - 56, - 134, - 21, - 198, - 46, - 41, - 118, - 244, - 146, - 43, - 196, - 243, - 83, - 91, - 117, - 166, - 220, - 81, - 186, - 24, - 206, - 167, - 91, - 20, - 161, - 229, - 219, - 218, - 179, - 215, - 51, - 166, - 31, - 229, - 203, - 10, - 94, - 246, - 113, - 115, - 100, - 186, - 239, - 165, - 41, - 27, - 128, - 97, - 6, - 108, - 116, - 160, - 90, - 184, - 248, - 5, - 176, - 251, - 96, - 215, - 83, - 106, - 30, - 15, - 244, - 52, - 104, - 49, - 84, - 179, - 4, - 116, - 109, - 79, - 2, - 188, - 40, - 253, - 105, - 183, - 220, - 166, - 241, - 144, - 34, - 25, - 124, - 87, - 39, - 16, - 191, - 23, - 164, - 65, - 178, - 113, - 173, - 50, - 233, - 206, - 110, - 24, - 108, - 149, - 95 + outputs: [ + "result-0" ] - }, - { - name: "result-0", - shape: [ - 1, - 12, - 6, - 60 - ], - type: "INT48" } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json index 6d75520a1..5661b64a8 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputType_1x4x2x9_i16xi8_acci48_st11_pad0000_dilat11/test.json @@ -5,299 +5,304 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: -81, + 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: [ + 1, + 1, + 9, + 3 + ], + type: "INT8", + data: [ + 167, + 175, + 245, + 7, + 132, + 88, + 45, + 146, + 87, + 135, + 15, + 247, + 0, + 116, + 109, + 199, + 20, + 117, + 58, + 99, + 239, + 200, + 2, + 81, + 109, + 47, + 52 + ] + }, + { + name: "const-2", + shape: [ + 27 + ], + type: "INT48", + data: [ + 209, + 81, + 123, + 59, + 68, + 236, + 105, + 127, + 226, + 201, + 196, + 80, + 43, + 142, + 242, + 64, + 7, + 75, + 1, + 7, + 104, + 148, + 198, + 65, + 207, + 129, + 183, + 179, + 141, + 127, + 194, + 120, + 234, + 202, + 127, + 250, + 162, + 32, + 24, + 129, + 146, + 78, + 151, + 179, + 219, + 97, + 203, + 92, + 190, + 23, + 55, + 150, + 43, + 182, + 129, + 224, + 200, + 221, + 196, + 138, + 25, + 130, + 94, + 151, + 157, + 231, + 126, + 240, + 104, + 24, + 83, + 91, + 143, + 229, + 49, + 172, + 2, + 202, + 102, + 150, + 142, + 221, + 51, + 51, + 172, + 247, + 80, + 145, + 225, + 129, + 30, + 250, + 214, + 41, + 249, + 218, + 214, + 32, + 138, + 128, + 146, + 29, + 19, + 200, + 103, + 196, + 55, + 161, + 112, + 10, + 213, + 7, + 136, + 101, + 7, + 239, + 68, + 146, + 1, + 168, + 112, + 231, + 209, + 58, + 232, + 104, + 87, + 255, + 43, + 74, + 101, + 183, + 43, + 148, + 19, + 12, + 137, + 126, + 19, + 231, + 201, + 207, + 208, + 26, + 118, + 50, + 131, + 160, + 151, + 149, + 88, + 66, + 67, + 2, + 182, + 144, + 252, + 49, + 123, + 17, + 46, + 147 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 2, + 27 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 0, - weight_zp: -81, - 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: [ - 1, - 1, - 9, - 3 - ], - type: "INT8", - data: [ - 167, - 175, - 245, - 7, - 132, - 88, - 45, - 146, - 87, - 135, - 15, - 247, - 0, - 116, - 109, - 199, - 20, - 117, - 58, - 99, - 239, - 200, - 2, - 81, - 109, - 47, - 52 - ] - }, - { - name: "const-2", - shape: [ - 27 - ], - type: "INT48", - data: [ - 209, - 81, - 123, - 59, - 68, - 236, - 105, - 127, - 226, - 201, - 196, - 80, - 43, - 142, - 242, - 64, - 7, - 75, - 1, - 7, - 104, - 148, - 198, - 65, - 207, - 129, - 183, - 179, - 141, - 127, - 194, - 120, - 234, - 202, - 127, - 250, - 162, - 32, - 24, - 129, - 146, - 78, - 151, - 179, - 219, - 97, - 203, - 92, - 190, - 23, - 55, - 150, - 43, - 182, - 129, - 224, - 200, - 221, - 196, - 138, - 25, - 130, - 94, - 151, - 157, - 231, - 126, - 240, - 104, - 24, - 83, - 91, - 143, - 229, - 49, - 172, - 2, - 202, - 102, - 150, - 142, - 221, - 51, - 51, - 172, - 247, - 80, - 145, - 225, - 129, - 30, - 250, - 214, - 41, - 249, - 218, - 214, - 32, - 138, - 128, - 146, - 29, - 19, - 200, - 103, - 196, - 55, - 161, - 112, - 10, - 213, - 7, - 136, - 101, - 7, - 239, - 68, - 146, - 1, - 168, - 112, - 231, - 209, - 58, - 232, - 104, - 87, - 255, - 43, - 74, - 101, - 183, - 43, - 148, - 19, - 12, - 137, - 126, - 19, - 231, - 201, - 207, - 208, - 26, - 118, - 50, - 131, - 160, - 151, - 149, - 88, - 66, - 67, - 2, - 182, - 144, - 252, - 49, - 123, - 17, - 46, - 147 - ] - }, - { - name: "result-0", - shape: [ - 1, - 4, - 2, - 27 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json index 44ccc7237..b1de7013c 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x3x14x8_i8xi8_acci32_st11_pad0000_dilat11/test.json @@ -5,391 +5,396 @@ _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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -125, + weight_zp: -116, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 3, + 14, + 8 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 14, + 4 + ], + type: "INT8", + data: [ + 157, + 3, + 35, + 202, + 222, + 8, + 243, + 251, + 46, + 123, + 75, + 130, + 217, + 130, + 95, + 36, + 184, + 86, + 16, + 141, + 166, + 79, + 202, + 6, + 101, + 202, + 130, + 149, + 106, + 25, + 212, + 148, + 50, + 138, + 151, + 24, + 36, + 17, + 104, + 196, + 14, + 206, + 220, + 166, + 75, + 52, + 54, + 164, + 158, + 72, + 42, + 135, + 42, + 122, + 64, + 199 + ] + }, + { + name: "const-2", + shape: [ + 56 + ], + type: "INT32", + data: [ + 153, + 124, + 249, + 208, + 33, + 31, + 138, + 64, + 95, + 39, + 186, + 230, + 195, + 28, + 153, + 60, + 215, + 13, + 197, + 117, + 95, + 190, + 205, + 231, + 160, + 18, + 206, + 18, + 70, + 236, + 96, + 253, + 214, + 97, + 45, + 2, + 90, + 124, + 95, + 147, + 114, + 46, + 162, + 124, + 186, + 165, + 111, + 10, + 249, + 73, + 196, + 186, + 7, + 179, + 236, + 18, + 126, + 49, + 223, + 229, + 157, + 8, + 105, + 82, + 165, + 186, + 135, + 66, + 35, + 164, + 212, + 225, + 123, + 194, + 141, + 54, + 220, + 31, + 120, + 136, + 127, + 177, + 121, + 119, + 66, + 107, + 202, + 2, + 37, + 58, + 128, + 39, + 29, + 94, + 37, + 37, + 254, + 253, + 38, + 208, + 237, + 42, + 157, + 48, + 241, + 132, + 204, + 229, + 145, + 200, + 62, + 46, + 26, + 109, + 247, + 150, + 184, + 136, + 96, + 165, + 76, + 238, + 120, + 108, + 197, + 173, + 98, + 60, + 53, + 99, + 240, + 160, + 171, + 94, + 184, + 182, + 64, + 61, + 179, + 11, + 46, + 173, + 128, + 129, + 181, + 212, + 193, + 230, + 188, + 226, + 153, + 211, + 140, + 122, + 92, + 162, + 218, + 174, + 194, + 204, + 83, + 138, + 1, + 203, + 18, + 219, + 46, + 145, + 59, + 148, + 49, + 34, + 115, + 58, + 188, + 197, + 4, + 25, + 0, + 136, + 96, + 152, + 168, + 133, + 14, + 23, + 75, + 119, + 236, + 106, + 71, + 158, + 140, + 125, + 186, + 104, + 168, + 66, + 168, + 170, + 189, + 112, + 168, + 149, + 228, + 180, + 166, + 11, + 11, + 107, + 76, + 94, + 67, + 168, + 83, + 146, + 78, + 62, + 29, + 212, + 35, + 253, + 177, + 64 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 3, + 56 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -125, - weight_zp: -116, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 3, - 14, - 8 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 14, - 4 - ], - type: "INT8", - data: [ - 157, - 3, - 35, - 202, - 222, - 8, - 243, - 251, - 46, - 123, - 75, - 130, - 217, - 130, - 95, - 36, - 184, - 86, - 16, - 141, - 166, - 79, - 202, - 6, - 101, - 202, - 130, - 149, - 106, - 25, - 212, - 148, - 50, - 138, - 151, - 24, - 36, - 17, - 104, - 196, - 14, - 206, - 220, - 166, - 75, - 52, - 54, - 164, - 158, - 72, - 42, - 135, - 42, - 122, - 64, - 199 - ] - }, - { - name: "const-2", - shape: [ - 56 - ], - type: "INT32", - data: [ - 153, - 124, - 249, - 208, - 33, - 31, - 138, - 64, - 95, - 39, - 186, - 230, - 195, - 28, - 153, - 60, - 215, - 13, - 197, - 117, - 95, - 190, - 205, - 231, - 160, - 18, - 206, - 18, - 70, - 236, - 96, - 253, - 214, - 97, - 45, - 2, - 90, - 124, - 95, - 147, - 114, - 46, - 162, - 124, - 186, - 165, - 111, - 10, - 249, - 73, - 196, - 186, - 7, - 179, - 236, - 18, - 126, - 49, - 223, - 229, - 157, - 8, - 105, - 82, - 165, - 186, - 135, - 66, - 35, - 164, - 212, - 225, - 123, - 194, - 141, - 54, - 220, - 31, - 120, - 136, - 127, - 177, - 121, - 119, - 66, - 107, - 202, - 2, - 37, - 58, - 128, - 39, - 29, - 94, - 37, - 37, - 254, - 253, - 38, - 208, - 237, - 42, - 157, - 48, - 241, - 132, - 204, - 229, - 145, - 200, - 62, - 46, - 26, - 109, - 247, - 150, - 184, - 136, - 96, - 165, - 76, - 238, - 120, - 108, - 197, - 173, - 98, - 60, - 53, - 99, - 240, - 160, - 171, - 94, - 184, - 182, - 64, - 61, - 179, - 11, - 46, - 173, - 128, - 129, - 181, - 212, - 193, - 230, - 188, - 226, - 153, - 211, - 140, - 122, - 92, - 162, - 218, - 174, - 194, - 204, - 83, - 138, - 1, - 203, - 18, - 219, - 46, - 145, - 59, - 148, - 49, - 34, - 115, - 58, - 188, - 197, - 4, - 25, - 0, - 136, - 96, - 152, - 168, - 133, - 14, - 23, - 75, - 119, - 236, - 106, - 71, - 158, - 140, - 125, - 186, - 104, - 168, - 66, - 168, - 170, - 189, - 112, - 168, - 149, - 228, - 180, - 166, - 11, - 11, - 107, - 76, - 94, - 67, - 168, - 83, - 146, - 78, - 62, - 29, - 212, - 35, - 253, - 177, - 64 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 3, - 56 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |