diff options
Diffstat (limited to 'operators/tensor/depthwise_conv2d_2x2')
10 files changed, 1382 insertions, 1332 deletions
diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_acci48_st21_pad0909_dilat77/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_acci48_st21_pad0909_dilat77/test.json index b78a29014..bf8a9a0a9 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_acci48_st21_pad0909_dilat77/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_acci48_st21_pad0909_dilat77/test.json @@ -5,190 +5,195 @@ _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, + 9 + ], + stride: [ + 2, + 1 + ], + dilation: [ + 7, + 7 + ], + input_zp: 0, + weight_zp: -59, + 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: [ + 2, + 2, + 4, + 2 + ], + type: "INT8", + data: [ + 234, + 226, + 246, + 41, + 205, + 27, + 69, + 236, + 213, + 38, + 206, + 62, + 179, + 47, + 108, + 144, + 218, + 70, + 162, + 230, + 76, + 76, + 115, + 7, + 236, + 15, + 228, + 232, + 140, + 97, + 90, + 57 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 22, + 115, + 89, + 29, + 77, + 77, + 28, + 61, + 61, + 130, + 99, + 156, + 114, + 194, + 193, + 113, + 18, + 141, + 144, + 142, + 154, + 168, + 197, + 231, + 128, + 121, + 102, + 248, + 220, + 165, + 230, + 12, + 184, + 191, + 153, + 54, + 248, + 23, + 128, + 76, + 194, + 213, + 3, + 51, + 222, + 218, + 122, + 54 + ] + }, + { + name: "result-0", + shape: [ + 1, + 7, + 35, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 9, - 0, - 9 - ], - stride: [ - 2, - 1 - ], - dilation: [ - 7, - 7 - ], - input_zp: 0, - weight_zp: -59, - 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: [ - 2, - 2, - 4, - 2 - ], - type: "INT8", - data: [ - 234, - 226, - 246, - 41, - 205, - 27, - 69, - 236, - 213, - 38, - 206, - 62, - 179, - 47, - 108, - 144, - 218, - 70, - 162, - 230, - 76, - 76, - 115, - 7, - 236, - 15, - 228, - 232, - 140, - 97, - 90, - 57 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 22, - 115, - 89, - 29, - 77, - 77, - 28, - 61, - 61, - 130, - 99, - 156, - 114, - 194, - 193, - 113, - 18, - 141, - 144, - 142, - 154, - 168, - 197, - 231, - 128, - 121, - 102, - 248, - 220, - 165, - 230, - 12, - 184, - 191, - 153, - 54, - 248, - 23, - 128, - 76, - 194, - 213, - 3, - 51, - 222, - 218, - 122, - 54 - ] - }, - { - name: "result-0", - shape: [ - 1, - 7, - 35, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_acci48_st21_pad9090_dilat77/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_acci48_st21_pad9090_dilat77/test.json index 933578ba3..f6f875bf6 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_acci48_st21_pad9090_dilat77/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_acci48_st21_pad9090_dilat77/test.json @@ -5,190 +5,195 @@ _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, + 9, + 0 + ], + stride: [ + 2, + 1 + ], + dilation: [ + 7, + 7 + ], + input_zp: 0, + weight_zp: 98, + 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: [ + 2, + 2, + 4, + 2 + ], + type: "INT8", + data: [ + 50, + 146, + 25, + 197, + 30, + 41, + 118, + 166, + 9, + 237, + 13, + 59, + 163, + 108, + 98, + 99, + 145, + 45, + 238, + 11, + 162, + 215, + 5, + 120, + 160, + 183, + 243, + 52, + 202, + 208, + 115, + 143 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 83, + 23, + 76, + 225, + 129, + 157, + 152, + 161, + 164, + 116, + 108, + 217, + 209, + 23, + 28, + 230, + 81, + 223, + 53, + 186, + 56, + 125, + 118, + 108, + 217, + 168, + 129, + 58, + 241, + 13, + 32, + 118, + 173, + 17, + 27, + 71, + 106, + 238, + 213, + 169, + 121, + 52, + 0, + 244, + 81, + 124, + 16, + 228 + ] + }, + { + name: "result-0", + shape: [ + 1, + 7, + 35, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 9, - 0 - ], - stride: [ - 2, - 1 - ], - dilation: [ - 7, - 7 - ], - input_zp: 0, - weight_zp: 98, - 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: [ - 2, - 2, - 4, - 2 - ], - type: "INT8", - data: [ - 50, - 146, - 25, - 197, - 30, - 41, - 118, - 166, - 9, - 237, - 13, - 59, - 163, - 108, - 98, - 99, - 145, - 45, - 238, - 11, - 162, - 215, - 5, - 120, - 160, - 183, - 243, - 52, - 202, - 208, - 115, - 143 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 83, - 23, - 76, - 225, - 129, - 157, - 152, - 161, - 164, - 116, - 108, - 217, - 209, - 23, - 28, - 230, - 81, - 223, - 53, - 186, - 56, - 125, - 118, - 108, - 217, - 168, - 129, - 58, - 241, - 13, - 32, - 118, - 173, - 17, - 27, - 71, - 106, - 238, - 213, - 169, - 121, - 52, - 0, - 244, - 81, - 124, - 16, - 228 - ] - }, - { - name: "result-0", - shape: [ - 1, - 7, - 35, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i8xi8_acci32_st11_pad9099_dilat11/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i8xi8_acci32_st11_pad9099_dilat11/test.json index a37ec6e6b..8f09bf951 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i8xi8_acci32_st11_pad9099_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i8xi8_acci32_st11_pad9099_dilat11/test.json @@ -5,174 +5,179 @@ _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, + 9, + 9 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 47, + weight_zp: -68, + 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: [ + 2, + 2, + 4, + 2 + ], + type: "INT8", + data: [ + 72, + 166, + 197, + 179, + 220, + 124, + 146, + 252, + 64, + 229, + 95, + 244, + 120, + 57, + 222, + 89, + 141, + 125, + 211, + 58, + 85, + 243, + 111, + 206, + 227, + 74, + 194, + 211, + 123, + 156, + 151, + 219 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 194, + 173, + 3, + 202, + 196, + 79, + 127, + 87, + 151, + 51, + 32, + 178, + 154, + 160, + 145, + 221, + 6, + 3, + 236, + 230, + 196, + 66, + 13, + 91, + 129, + 187, + 240, + 190, + 81, + 124, + 80, + 245 + ] + }, + { + name: "result-0", + shape: [ + 1, + 19, + 50, + 8 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 9, - 9 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 47, - weight_zp: -68, - 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: [ - 2, - 2, - 4, - 2 - ], - type: "INT8", - data: [ - 72, - 166, - 197, - 179, - 220, - 124, - 146, - 252, - 64, - 229, - 95, - 244, - 120, - 57, - 222, - 89, - 141, - 125, - 211, - 58, - 85, - 243, - 111, - 206, - 227, - 74, - 194, - 211, - 123, - 156, - 151, - 219 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT32", - data: [ - 194, - 173, - 3, - 202, - 196, - 79, - 127, - 87, - 151, - 51, - 32, - 178, - 154, - 160, - 145, - 221, - 6, - 3, - 236, - 230, - 196, - 66, - 13, - 91, - 129, - 187, - 240, - 190, - 81, - 124, - 80, - 245 - ] - }, - { - name: "result-0", - shape: [ - 1, - 19, - 50, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i8xi8_acci32_st12_pad0099_dilat12/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i8xi8_acci32_st12_pad0099_dilat12/test.json index 5bb5e5244..e47460acc 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i8xi8_acci32_st12_pad0099_dilat12/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i8xi8_acci32_st12_pad0099_dilat12/test.json @@ -5,174 +5,179 @@ _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, + 9 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 1, + 2 + ], + input_zp: -74, + weight_zp: 39, + 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: [ + 2, + 2, + 4, + 2 + ], + type: "INT8", + data: [ + 131, + 191, + 31, + 118, + 234, + 99, + 64, + 242, + 240, + 22, + 25, + 234, + 202, + 41, + 102, + 39, + 230, + 154, + 236, + 215, + 236, + 24, + 239, + 61, + 92, + 235, + 191, + 18, + 39, + 186, + 242, + 230 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 247, + 76, + 209, + 132, + 205, + 50, + 234, + 106, + 196, + 239, + 105, + 173, + 226, + 99, + 171, + 122, + 221, + 14, + 113, + 131, + 144, + 230, + 145, + 118, + 16, + 198, + 255, + 75, + 169, + 156, + 203, + 137 + ] + }, + { + name: "result-0", + shape: [ + 1, + 10, + 25, + 8 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 9, - 9 - ], - stride: [ - 1, - 2 - ], - dilation: [ - 1, - 2 - ], - input_zp: -74, - weight_zp: 39, - 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: [ - 2, - 2, - 4, - 2 - ], - type: "INT8", - data: [ - 131, - 191, - 31, - 118, - 234, - 99, - 64, - 242, - 240, - 22, - 25, - 234, - 202, - 41, - 102, - 39, - 230, - 154, - 236, - 215, - 236, - 24, - 239, - 61, - 92, - 235, - 191, - 18, - 39, - 186, - 242, - 230 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT32", - data: [ - 247, - 76, - 209, - 132, - 205, - 50, - 234, - 106, - 196, - 239, - 105, - 173, - 226, - 99, - 171, - 122, - 221, - 14, - 113, - 131, - 144, - 230, - 145, - 118, - 16, - 198, - 255, - 75, - 169, - 156, - 203, - 137 - ] - }, - { - name: "result-0", - shape: [ - 1, - 10, - 25, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x4x65537x1_i8xi8_acci32_st11_pad0010_dilat11/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x4x65537x1_i8xi8_acci32_st11_pad0010_dilat11/test.json index c7f7e0e7a..60c6496a6 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x4x65537x1_i8xi8_acci32_st11_pad0010_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x4x65537x1_i8xi8_acci32_st11_pad0010_dilat11/test.json @@ -5,126 +5,131 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -97, + weight_zp: -68, + 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: [ + 2, + 2, + 1, + 2 + ], + type: "INT8", + data: [ + 107, + 253, + 11, + 111, + 123, + 217, + 205, + 201 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 101, + 9, + 77, + 21, + 136, + 35, + 239, + 114 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 65537, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 1, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -97, - weight_zp: -68, - 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: [ - 2, - 2, - 1, - 2 - ], - type: "INT8", - data: [ - 107, - 253, - 11, - 111, - 123, - 217, - 205, - 201 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 101, - 9, - 77, - 21, - 136, - 35, - 239, - 114 - ] - }, - { - name: "result-0", - shape: [ - 1, - 3, - 65537, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x4x65537x1_i8xi8_acci32_st11_pad1010_dilat11/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x4x65537x1_i8xi8_acci32_st11_pad1010_dilat11/test.json index dff9b3870..0115adb93 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x4x65537x1_i8xi8_acci32_st11_pad1010_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x4x65537x1_i8xi8_acci32_st11_pad1010_dilat11/test.json @@ -5,126 +5,131 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -87, + weight_zp: 63, + 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: [ + 2, + 2, + 1, + 2 + ], + type: "INT8", + data: [ + 162, + 14, + 181, + 252, + 40, + 104, + 52, + 243 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 187, + 166, + 193, + 217, + 136, + 249, + 214, + 242 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 65537, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 1, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -87, - weight_zp: 63, - 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: [ - 2, - 2, - 1, - 2 - ], - type: "INT8", - data: [ - 162, - 14, - 181, - 252, - 40, - 104, - 52, - 243 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 187, - 166, - 193, - 217, - 136, - 249, - 214, - 242 - ] - }, - { - name: "result-0", - shape: [ - 1, - 4, - 65537, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi4_acci32_st11_pad1001_dilat11/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi4_acci32_st11_pad1001_dilat11/test.json index c33f929d7..136de218b 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi4_acci32_st11_pad1001_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi4_acci32_st11_pad1001_dilat11/test.json @@ -5,122 +5,127 @@ _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: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -45, + 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: [ + 2, + 2, + 1, + 2 + ], + type: "INT4", + data: [ + 26, + 91, + 176, + 47 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 26, + 77, + 7, + 101, + 186, + 62, + 87, + 125 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65532, + 2, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -45, - 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: [ - 2, - 2, - 1, - 2 - ], - type: "INT4", - data: [ - 26, - 91, - 176, - 47 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 26, - 77, - 7, - 101, - 186, - 62, - 87, - 125 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65532, - 2, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi8_acci32_st11_pad0101_dilat11/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi8_acci32_st11_pad0101_dilat11/test.json index ad705c243..2a71bbe33 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi8_acci32_st11_pad0101_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi8_acci32_st11_pad0101_dilat11/test.json @@ -5,126 +5,131 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 1, + 0, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 50, + weight_zp: -84, + 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: [ + 2, + 2, + 1, + 2 + ], + type: "INT8", + data: [ + 53, + 182, + 37, + 147, + 104, + 6, + 8, + 99 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 212, + 141, + 123, + 167, + 99, + 35, + 235, + 118 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65532, + 2, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 0, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 50, - weight_zp: -84, - 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: [ - 2, - 2, - 1, - 2 - ], - type: "INT8", - data: [ - 53, - 182, - 37, - 147, - 104, - 6, - 8, - 99 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 212, - 141, - 123, - 167, - 99, - 35, - 235, - 118 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65532, - 2, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi8_acci32_st11_pad1111_dilat11/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi8_acci32_st11_pad1111_dilat11/test.json index 522a8fd6c..8d0a97a80 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi8_acci32_st11_pad1111_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x65532x2x1_i8xi8_acci32_st11_pad1111_dilat11/test.json @@ -5,126 +5,131 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 1, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 58, + weight_zp: -80, + 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: [ + 2, + 2, + 1, + 2 + ], + type: "INT8", + data: [ + 231, + 0, + 238, + 55, + 76, + 22, + 246, + 24 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 222, + 176, + 12, + 138, + 132, + 130, + 26, + 141 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65533, + 3, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 1, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 58, - weight_zp: -80, - 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: [ - 2, - 2, - 1, - 2 - ], - type: "INT8", - data: [ - 231, - 0, - 238, - 55, - 76, - 22, - 246, - 24 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 222, - 176, - 12, - 138, - 132, - 130, - 26, - 141 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65533, - 3, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x9x44x3_i8xi8_acci32_st11_pad0990_dilat11/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x9x44x3_i8xi8_acci32_st11_pad0990_dilat11/test.json index 2803901ec..77f6a189c 100644 --- a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x9x44x3_i8xi8_acci32_st11_pad0990_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x9x44x3_i8xi8_acci32_st11_pad0990_dilat11/test.json @@ -5,158 +5,163 @@ _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, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 94, + weight_zp: 87, + 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: [ + 2, + 2, + 3, + 2 + ], + type: "INT8", + data: [ + 20, + 188, + 165, + 98, + 60, + 211, + 130, + 104, + 116, + 196, + 144, + 15, + 253, + 112, + 91, + 47, + 146, + 183, + 182, + 25, + 227, + 200, + 77, + 4 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT32", + data: [ + 74, + 49, + 73, + 32, + 221, + 29, + 252, + 11, + 76, + 122, + 224, + 83, + 114, + 46, + 165, + 88, + 148, + 217, + 163, + 31, + 149, + 159, + 143, + 43 + ] + }, + { + name: "result-0", + shape: [ + 1, + 17, + 52, + 6 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 9, - 9, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 94, - weight_zp: 87, - 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: [ - 2, - 2, - 3, - 2 - ], - type: "INT8", - data: [ - 20, - 188, - 165, - 98, - 60, - 211, - 130, - 104, - 116, - 196, - 144, - 15, - 253, - 112, - 91, - 47, - 146, - 183, - 182, - 25, - 227, - 200, - 77, - 4 - ] - }, - { - name: "const-2", - shape: [ - 6 - ], - type: "INT32", - data: [ - 74, - 49, - 73, - 32, - 221, - 29, - 252, - 11, - 76, - 122, - 224, - 83, - 114, - 46, - 165, - 88, - 148, - 217, - 163, - 31, - 149, - 159, - 143, - 43 - ] - }, - { - name: "result-0", - shape: [ - 1, - 17, - 52, - 6 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |