diff options
Diffstat (limited to 'operators/tensor/depthwise_conv2d_3x1')
11 files changed, 1325 insertions, 1270 deletions
diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x11x33x4_i8xi4_acci32_st11_pad9099_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x11x33x4_i8xi4_acci32_st11_pad9099_dilat11/test.json index 924d67929..a557cab83 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x11x33x4_i8xi4_acci32_st11_pad9099_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x11x33x4_i8xi4_acci32_st11_pad9099_dilat11/test.json @@ -5,154 +5,159 @@ _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: -109, + weight_zp: 0, + 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: [ + 3, + 1, + 4, + 2 + ], + type: "INT4", + data: [ + 23, + 147, + 230, + 203, + 21, + 99, + 29, + 158, + 205, + 112, + 249, + 3 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 78, + 188, + 80, + 90, + 157, + 116, + 182, + 92, + 131, + 205, + 63, + 233, + 168, + 76, + 190, + 211, + 98, + 58, + 26, + 26, + 46, + 88, + 184, + 172, + 165, + 124, + 147, + 169, + 15, + 171, + 114, + 207 + ] + }, + { + name: "result-0", + shape: [ + 1, + 18, + 51, + 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: -109, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 3, - 1, - 4, - 2 - ], - type: "INT4", - data: [ - 23, - 147, - 230, - 203, - 21, - 99, - 29, - 158, - 205, - 112, - 249, - 3 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT32", - data: [ - 78, - 188, - 80, - 90, - 157, - 116, - 182, - 92, - 131, - 205, - 63, - 233, - 168, - 76, - 190, - 211, - 98, - 58, - 26, - 26, - 46, - 88, - 184, - 172, - 165, - 124, - 147, - 169, - 15, - 171, - 114, - 207 - ] - }, - { - name: "result-0", - shape: [ - 1, - 18, - 51, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x11x33x4_i8xi4_acci32_st12_pad0099_dilat12/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x11x33x4_i8xi4_acci32_st12_pad0099_dilat12/test.json index 2582d2dc3..940476cdb 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x11x33x4_i8xi4_acci32_st12_pad0099_dilat12/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x11x33x4_i8xi4_acci32_st12_pad0099_dilat12/test.json @@ -5,154 +5,159 @@ _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: 46, + weight_zp: 0, + 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: [ + 3, + 1, + 4, + 2 + ], + type: "INT4", + data: [ + 159, + 64, + 194, + 181, + 250, + 34, + 38, + 237, + 59, + 17, + 52, + 178 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 235, + 229, + 54, + 167, + 43, + 148, + 148, + 125, + 246, + 168, + 82, + 179, + 133, + 144, + 244, + 253, + 13, + 251, + 96, + 132, + 10, + 205, + 102, + 130, + 249, + 94, + 73, + 174, + 119, + 76, + 232, + 234 + ] + }, + { + name: "result-0", + shape: [ + 1, + 9, + 26, + 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: 46, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 11, - 33, - 4 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 3, - 1, - 4, - 2 - ], - type: "INT4", - data: [ - 159, - 64, - 194, - 181, - 250, - 34, - 38, - 237, - 59, - 17, - 52, - 178 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT32", - data: [ - 235, - 229, - 54, - 167, - 43, - 148, - 148, - 125, - 246, - 168, - 82, - 179, - 133, - 144, - 244, - 253, - 13, - 251, - 96, - 132, - 10, - 205, - 102, - 130, - 249, - 94, - 73, - 174, - 119, - 76, - 232, - 234 - ] - }, - { - name: "result-0", - shape: [ - 1, - 9, - 26, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st11_pad0010_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st11_pad0010_dilat11/test.json index 4831d70c0..b99601bfc 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st11_pad0010_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st11_pad0010_dilat11/test.json @@ -5,121 +5,126 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 89, + 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: [ + 3, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 15, + 192, + 204 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 192, + 238, + 83, + 236, + 211, + 194, + 125, + 20 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 65538, + 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: 89, - 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: [ - 3, - 1, - 1, - 2 - ], - type: "INT4", - data: [ - 15, - 192, - 204 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 192, - 238, - 83, - 236, - 211, - 194, - 125, - 20 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 65538, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st11_pad1010_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st11_pad1010_dilat11/test.json index 03eb94a0b..aa3428224 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st11_pad1010_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st11_pad1010_dilat11/test.json @@ -5,121 +5,126 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 58, + 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: [ + 3, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 11, + 241, + 76 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 206, + 233, + 178, + 35, + 29, + 179, + 169, + 240 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 65538, + 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: 58, - 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: [ - 3, - 1, - 1, - 2 - ], - type: "INT4", - data: [ - 11, - 241, - 76 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 206, - 233, - 178, - 35, - 29, - 179, - 169, - 240 - ] - }, - { - name: "result-0", - shape: [ - 1, - 3, - 65538, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st18_pad1100_dilat17/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st18_pad1100_dilat17/test.json index 117f3e5f1..cb8667934 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st18_pad1100_dilat17/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi4_acci32_st18_pad1100_dilat17/test.json @@ -5,121 +5,126 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 0, + 0 + ], + stride: [ + 1, + 8 + ], + dilation: [ + 1, + 7 + ], + input_zp: -127, + 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: [ + 3, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 214, + 164, + 32 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 19, + 57, + 71, + 150, + 123, + 134, + 68, + 73 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 8193, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 0, - 0 - ], - stride: [ - 1, - 8 - ], - dilation: [ - 1, - 7 - ], - input_zp: -127, - 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: [ - 3, - 1, - 1, - 2 - ], - type: "INT4", - data: [ - 214, - 164, - 32 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 19, - 57, - 71, - 150, - 123, - 134, - 68, - 73 - ] - }, - { - name: "result-0", - shape: [ - 1, - 4, - 8193, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi8_acci32_st11_pad0110_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi8_acci32_st11_pad0110_dilat11/test.json index 106b52cba..c7f4a7511 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi8_acci32_st11_pad0110_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x4x65537x1_i8xi8_acci32_st11_pad0110_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, + 1, + 1, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -1, + weight_zp: 102, + 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: [ + 3, + 1, + 1, + 2 + ], + type: "INT8", + data: [ + 203, + 9, + 81, + 194, + 165, + 77 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 2, + 207, + 53, + 60, + 13, + 65, + 130, + 20 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 65538, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 1, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -1, - weight_zp: 102, - 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: [ - 3, - 1, - 1, - 2 - ], - type: "INT8", - data: [ - 203, - 9, - 81, - 194, - 165, - 77 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 2, - 207, - 53, - 60, - 13, - 65, - 130, - 20 - ] - }, - { - name: "result-0", - shape: [ - 1, - 3, - 65538, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_acci32_st11_pad0101_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_acci32_st11_pad0101_dilat11/test.json index ebb342f0e..148de5b0a 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_acci32_st11_pad0101_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_acci32_st11_pad0101_dilat11/test.json @@ -5,121 +5,126 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 1, + 0, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -27, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65532, + 2, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 3, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 55, + 106, + 204 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 255, + 46, + 146, + 49, + 167, + 244, + 227, + 213 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65531, + 3, + 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: -27, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65532, - 2, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 3, - 1, - 1, - 2 - ], - type: "INT4", - data: [ - 55, - 106, - 204 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 255, - 46, - 146, - 49, - 167, - 244, - 227, - 213 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65531, - 3, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_acci32_st11_pad1111_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_acci32_st11_pad1111_dilat11/test.json index b42c9de8a..2d9b0abc8 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_acci32_st11_pad1111_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_acci32_st11_pad1111_dilat11/test.json @@ -5,121 +5,126 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 1, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 42, + 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: [ + 3, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 242, + 84, + 11 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 58, + 159, + 151, + 249, + 152, + 111, + 233, + 8 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65532, + 4, + 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: 42, - 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: [ - 3, - 1, - 1, - 2 - ], - type: "INT4", - data: [ - 242, - 84, - 11 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 58, - 159, - 151, - 249, - 152, - 111, - 233, - 8 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65532, - 4, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi8_acci32_st11_pad0000_dilat11/test.json index 2fd378373..b2fc3bd04 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi8_acci32_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi8_acci32_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: 108, + weight_zp: -87, + 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: [ + 3, + 1, + 1, + 2 + ], + type: "INT8", + data: [ + 81, + 17, + 71, + 141, + 183, + 223 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 179, + 211, + 254, + 146, + 249, + 78, + 10, + 232 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65530, + 2, + 2 + ], + 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: 108, - weight_zp: -87, - 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: [ - 3, - 1, - 1, - 2 - ], - type: "INT8", - data: [ - 81, - 17, - 71, - 141, - 183, - 223 - ] - }, - { - name: "const-2", - shape: [ - 2 - ], - type: "INT32", - data: [ - 179, - 211, - 254, - 146, - 249, - 78, - 10, - 232 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65530, - 2, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i16xi8_acci48_st21_pad0090_dilat21/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i16xi8_acci48_st21_pad0090_dilat21/test.json index a8df249a6..a39b2e021 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i16xi8_acci48_st21_pad0090_dilat21/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i16xi8_acci48_st21_pad0090_dilat21/test.json @@ -5,164 +5,169 @@ _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: 0, + weight_zp: -34, + 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: [ + 3, + 1, + 3, + 2 + ], + type: "INT8", + data: [ + 84, + 146, + 160, + 69, + 1, + 97, + 198, + 137, + 100, + 150, + 98, + 27, + 101, + 165, + 44, + 163, + 9, + 182 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT48", + data: [ + 72, + 169, + 27, + 134, + 75, + 170, + 119, + 24, + 113, + 182, + 241, + 105, + 214, + 78, + 210, + 199, + 227, + 177, + 199, + 219, + 165, + 10, + 67, + 207, + 245, + 220, + 142, + 41, + 190, + 28, + 91, + 113, + 240, + 198, + 141, + 179 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 53, + 6 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 9, - 0 - ], - stride: [ - 2, - 1 - ], - dilation: [ - 2, - 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, - 9, - 44, - 3 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 3, - 1, - 3, - 2 - ], - type: "INT8", - data: [ - 84, - 146, - 160, - 69, - 1, - 97, - 198, - 137, - 100, - 150, - 98, - 27, - 101, - 165, - 44, - 163, - 9, - 182 - ] - }, - { - name: "const-2", - shape: [ - 6 - ], - type: "INT48", - data: [ - 72, - 169, - 27, - 134, - 75, - 170, - 119, - 24, - 113, - 182, - 241, - 105, - 214, - 78, - 210, - 199, - 227, - 177, - 199, - 219, - 165, - 10, - 67, - 207, - 245, - 220, - 142, - 41, - 190, - 28, - 91, - 113, - 240, - 198, - 141, - 179 - ] - }, - { - name: "result-0", - shape: [ - 1, - 3, - 53, - 6 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i8xi4_acci32_st11_pad0990_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i8xi4_acci32_st11_pad0990_dilat11/test.json index f19198a29..007b7b329 100644 --- a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i8xi4_acci32_st11_pad0990_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i8xi4_acci32_st11_pad0990_dilat11/test.json @@ -5,143 +5,148 @@ _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: 23, + 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: [ + 3, + 1, + 3, + 2 + ], + type: "INT4", + data: [ + 51, + 123, + 185, + 204, + 42, + 11, + 145, + 53, + 155 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT32", + data: [ + 255, + 208, + 95, + 92, + 163, + 173, + 112, + 160, + 27, + 130, + 187, + 168, + 29, + 12, + 0, + 27, + 206, + 82, + 216, + 10, + 232, + 77, + 75, + 132 + ] + }, + { + name: "result-0", + shape: [ + 1, + 16, + 53, + 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: 23, - 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: [ - 3, - 1, - 3, - 2 - ], - type: "INT4", - data: [ - 51, - 123, - 185, - 204, - 42, - 11, - 145, - 53, - 155 - ] - }, - { - name: "const-2", - shape: [ - 6 - ], - type: "INT32", - data: [ - 255, - 208, - 95, - 92, - 163, - 173, - 112, - 160, - 27, - 130, - 187, - 168, - 29, - 12, - 0, - 27, - 206, - 82, - 216, - 10, - 232, - 77, - 75, - 132 - ] - }, - { - name: "result-0", - shape: [ - 1, - 16, - 53, - 6 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |