diff options
Diffstat (limited to 'operators/tensor/conv2d_3x1')
9 files changed, 1115 insertions, 1070 deletions
diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x11x44x13_i8xi4_acci32_st11_pad9099_dilat11/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x11x44x13_i8xi4_acci32_st11_pad9099_dilat11/test.json index 42351d734..ceb3049f5 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x11x44x13_i8xi4_acci32_st11_pad9099_dilat11/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x11x44x13_i8xi4_acci32_st11_pad9099_dilat11/test.json @@ -5,134 +5,139 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 9, + 0, + 9, + 9 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -43, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 44, + 13 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 13 + ], + type: "INT4", + data: [ + 169, + 102, + 189, + 50, + 245, + 194, + 226, + 126, + 202, + 110, + 208, + 116, + 15, + 153, + 98, + 144, + 144, + 53, + 18, + 14 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 72, + 115, + 205, + 22 + ] + }, + { + name: "result-0", + shape: [ + 1, + 18, + 62, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 0, - 9, - 9 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -43, - 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, - 44, - 13 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 13 - ], - type: "INT4", - data: [ - 169, - 102, - 189, - 50, - 245, - 194, - 226, - 126, - 202, - 110, - 208, - 116, - 15, - 153, - 98, - 144, - 144, - 53, - 18, - 14 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 72, - 115, - 205, - 22 - ] - }, - { - name: "result-0", - shape: [ - 1, - 18, - 62, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x49x42x28_i16xi8_acci48_st11_pad0990_dilat11/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x49x42x28_i16xi8_acci48_st11_pad0990_dilat11/test.json index 8721c0460..9c50d5097 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x49x42x28_i16xi8_acci48_st11_pad0990_dilat11/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x49x42x28_i16xi8_acci48_st11_pad0990_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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 9, + 9, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 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, + 49, + 42, + 28 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 28 + ], + type: "INT8", + data: [ + 57, + 21, + 189, + 46, + 216, + 100, + 41, + 113, + 211, + 228, + 130, + 154, + 227, + 23, + 62, + 26, + 153, + 153, + 219, + 149, + 255, + 133, + 125, + 80, + 34, + 110, + 149, + 120, + 208, + 171, + 214, + 143, + 201, + 49, + 45, + 196, + 106, + 231, + 77, + 100, + 158, + 6, + 220, + 180, + 161, + 4, + 167, + 44, + 184, + 145, + 121, + 98, + 152, + 222, + 146, + 234, + 229, + 88, + 236, + 27, + 62, + 2, + 20, + 139, + 19, + 223, + 75, + 40, + 59, + 216, + 187, + 244, + 77, + 164, + 148, + 47, + 37, + 242, + 26, + 214, + 28, + 164, + 41, + 48 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 253, + 252, + 83, + 28, + 202, + 56 + ] + }, + { + name: "result-0", + shape: [ + 1, + 56, + 51, + 1 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 9, - 9, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 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, - 49, - 42, - 28 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 28 - ], - type: "INT8", - data: [ - 57, - 21, - 189, - 46, - 216, - 100, - 41, - 113, - 211, - 228, - 130, - 154, - 227, - 23, - 62, - 26, - 153, - 153, - 219, - 149, - 255, - 133, - 125, - 80, - 34, - 110, - 149, - 120, - 208, - 171, - 214, - 143, - 201, - 49, - 45, - 196, - 106, - 231, - 77, - 100, - 158, - 6, - 220, - 180, - 161, - 4, - 167, - 44, - 184, - 145, - 121, - 98, - 152, - 222, - 146, - 234, - 229, - 88, - 236, - 27, - 62, - 2, - 20, - 139, - 19, - 223, - 75, - 40, - 59, - 216, - 187, - 244, - 77, - 164, - 148, - 47, - 37, - 242, - 26, - 214, - 28, - 164, - 41, - 48 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT48", - data: [ - 253, - 252, - 83, - 28, - 202, - 56 - ] - }, - { - name: "result-0", - shape: [ - 1, - 56, - 51, - 1 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x49x42x28_i8xi8_acci32_st21_pad0090_dilat21/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x49x42x28_i8xi8_acci32_st21_pad0090_dilat21/test.json index f50b263c6..691ea390f 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x49x42x28_i8xi8_acci32_st21_pad0090_dilat21/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x49x42x28_i8xi8_acci32_st21_pad0090_dilat21/test.json @@ -5,198 +5,203 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 9, + 0 + ], + stride: [ + 2, + 1 + ], + dilation: [ + 2, + 1 + ], + input_zp: -37, + weight_zp: 23, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49, + 42, + 28 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 28 + ], + type: "INT8", + data: [ + 23, + 163, + 218, + 231, + 182, + 220, + 248, + 46, + 206, + 69, + 214, + 153, + 1, + 48, + 111, + 44, + 113, + 71, + 70, + 153, + 28, + 158, + 96, + 87, + 200, + 3, + 49, + 52, + 153, + 36, + 188, + 223, + 32, + 178, + 143, + 178, + 86, + 35, + 104, + 16, + 126, + 33, + 3, + 225, + 135, + 63, + 246, + 187, + 240, + 254, + 237, + 171, + 103, + 38, + 85, + 24, + 71, + 183, + 173, + 102, + 144, + 124, + 59, + 189, + 179, + 78, + 152, + 10, + 215, + 50, + 255, + 13, + 145, + 240, + 120, + 186, + 165, + 131, + 135, + 222, + 133, + 228, + 90, + 101 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 113, + 32, + 64, + 72 + ] + }, + { + name: "result-0", + shape: [ + 1, + 23, + 51, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 9, - 0 - ], - stride: [ - 2, - 1 - ], - dilation: [ - 2, - 1 - ], - input_zp: -37, - weight_zp: 23, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49, - 42, - 28 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 28 - ], - type: "INT8", - data: [ - 23, - 163, - 218, - 231, - 182, - 220, - 248, - 46, - 206, - 69, - 214, - 153, - 1, - 48, - 111, - 44, - 113, - 71, - 70, - 153, - 28, - 158, - 96, - 87, - 200, - 3, - 49, - 52, - 153, - 36, - 188, - 223, - 32, - 178, - 143, - 178, - 86, - 35, - 104, - 16, - 126, - 33, - 3, - 225, - 135, - 63, - 246, - 187, - 240, - 254, - 237, - 171, - 103, - 38, - 85, - 24, - 71, - 183, - 173, - 102, - 144, - 124, - 59, - 189, - 179, - 78, - 152, - 10, - 215, - 50, - 255, - 13, - 145, - 240, - 120, - 186, - 165, - 131, - 135, - 222, - 133, - 228, - 90, - 101 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 113, - 32, - 64, - 72 - ] - }, - { - name: "result-0", - shape: [ - 1, - 23, - 51, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi4_acci32_st11_pad0101_dilat11/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi4_acci32_st11_pad0101_dilat11/test.json index b672d2893..a85f2d5fd 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi4_acci32_st11_pad0101_dilat11/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi4_acci32_st11_pad0101_dilat11/test.json @@ -5,116 +5,121 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 1, + 0, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -110, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 1 + ], + type: "INT4", + data: [ + 123, + 9 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 9, + 228, + 250, + 207 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 65537, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 1, - 0, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -110, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 1 - ], - type: "INT4", - data: [ - 123, - 9 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 9, - 228, - 250, - 207 - ] - }, - { - name: "result-0", - shape: [ - 1, - 4, - 65537, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi4_acci32_st11_pad1111_dilat11/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi4_acci32_st11_pad1111_dilat11/test.json index b8057e0f8..e66fbec7e 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi4_acci32_st11_pad1111_dilat11/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi4_acci32_st11_pad1111_dilat11/test.json @@ -5,116 +5,121 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 1, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 100, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 1 + ], + type: "INT4", + data: [ + 64, + 10 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 150, + 161, + 238, + 95 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 65538, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 1, - 1 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 100, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 1 - ], - type: "INT4", - data: [ - 64, - 10 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 150, - 161, - 238, - 95 - ] - }, - { - name: "result-0", - shape: [ - 1, - 5, - 65538, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi8_acci32_st11_pad0000_dilat11/test.json index 25d0011e7..23ca1fd4e 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi8_acci32_st11_pad0000_dilat11/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi8_acci32_st11_pad0000_dilat11/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -81, + weight_zp: -17, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 1 + ], + type: "INT8", + data: [ + 206, + 125, + 49 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 95, + 204, + 115, + 227 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 65536, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -81, - weight_zp: -17, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 1 - ], - type: "INT8", - data: [ - 206, - 125, - 49 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 95, - 204, - 115, - 227 - ] - }, - { - name: "result-0", - shape: [ - 1, - 3, - 65536, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi8_acci32_st18_pad1001_dilat17/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi8_acci32_st18_pad1001_dilat17/test.json index b42ae4413..04179dd48 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi8_acci32_st18_pad1001_dilat17/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x5x65536x1_i8xi8_acci32_st18_pad1001_dilat17/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 0, + 1 + ], + stride: [ + 1, + 8 + ], + dilation: [ + 1, + 7 + ], + input_zp: -50, + weight_zp: 122, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 1 + ], + type: "INT8", + data: [ + 249, + 203, + 216 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 142, + 81, + 6, + 83 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 8193, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 1 - ], - stride: [ - 1, - 8 - ], - dilation: [ - 1, - 7 - ], - input_zp: -50, - weight_zp: 122, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 5, - 65536, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 1 - ], - type: "INT8", - data: [ - 249, - 203, - 216 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 142, - 81, - 6, - 83 - ] - }, - { - name: "result-0", - shape: [ - 1, - 4, - 8193, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x65535x4x1_i8xi8_acci32_st11_pad1100_dilat11/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x65535x4x1_i8xi8_acci32_st11_pad1100_dilat11/test.json index f8801695b..b36d916fd 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x65535x4x1_i8xi8_acci32_st11_pad1100_dilat11/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x65535x4x1_i8xi8_acci32_st11_pad1100_dilat11/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -31, + weight_zp: 40, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65535, + 4, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 1 + ], + type: "INT8", + data: [ + 24, + 73, + 128 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 56, + 207, + 41, + 238 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65535, + 4, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: -31, - weight_zp: 40, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65535, - 4, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 1 - ], - type: "INT8", - data: [ - 24, - 73, - 128 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 56, - 207, - 41, - 238 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65535, - 4, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] diff --git a/operators/tensor/conv2d_3x1/conv2d_3x1_1x65535x4x1_i8xi8_acci32_st81_pad0010_dilat71/test.json b/operators/tensor/conv2d_3x1/conv2d_3x1_1x65535x4x1_i8xi8_acci32_st81_pad0010_dilat71/test.json index 072b9e82c..a264b558d 100644 --- a/operators/tensor/conv2d_3x1/conv2d_3x1_1x65535x4x1_i8xi8_acci32_st81_pad0010_dilat71/test.json +++ b/operators/tensor/conv2d_3x1/conv2d_3x1_1x65535x4x1_i8xi8_acci32_st81_pad0010_dilat71/test.json @@ -5,117 +5,122 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ - ], - outputs: [ - "const-1" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "const-2" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 1, + 0 + ], + stride: [ + 8, + 1 + ], + dilation: [ + 7, + 1 + ], + input_zp: -15, + weight_zp: -67, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65535, + 4, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 1, + 1 + ], + type: "INT8", + data: [ + 50, + 160, + 164 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 183, + 57, + 181, + 30 + ] + }, + { + name: "result-0", + shape: [ + 1, + 8191, + 5, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 1, - 0 - ], - stride: [ - 8, - 1 - ], - dilation: [ - 7, - 1 - ], - input_zp: -15, - weight_zp: -67, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65535, - 4, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 3, - 1, - 1 - ], - type: "INT8", - data: [ - 50, - 160, - 164 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 183, - 57, - 181, - 30 - ] - }, - { - name: "result-0", - shape: [ - 1, - 8191, - 5, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] |