From b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Mon, 16 Jan 2023 15:17:52 +0000 Subject: Regen tests after control flow operator support Includes removing 3 tests that are not needed anymore. Signed-off-by: Jeremy Johnson Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e --- .../test.json | 297 +++++++++++---------- 1 file changed, 151 insertions(+), 146 deletions(-) (limited to 'operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x9x44x3_i16xi8_acci48_st88_pad0001_dilat22/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x9x44x3_i16xi8_acci48_st88_pad0001_dilat22/test.json b/operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x9x44x3_i16xi8_acci48_st88_pad0001_dilat22/test.json index 61318f88d..c78344b5c 100644 --- a/operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x9x44x3_i16xi8_acci48_st88_pad0001_dilat22/test.json +++ b/operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x9x44x3_i16xi8_acci48_st88_pad0001_dilat22/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, + 0, + 1 + ], + stride: [ + 8, + 8 + ], + dilation: [ + 2, + 2 + ], + input_zp: 0, + weight_zp: 40, + 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, + 3, + 3, + 2 + ], + type: "INT8", + data: [ + 119, + 30, + 220, + 95, + 230, + 95, + 30, + 231, + 145, + 142, + 98, + 195, + 240, + 190, + 50, + 19, + 55, + 99 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT48", + data: [ + 229, + 93, + 122, + 178, + 204, + 215, + 74, + 229, + 236, + 54, + 216, + 71, + 167, + 103, + 214, + 135, + 6, + 182, + 64, + 46, + 141, + 112, + 137, + 125, + 187, + 248, + 62, + 164, + 251, + 141, + 160, + 96, + 167, + 194, + 7, + 150 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 6, + 6 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 1 - ], - stride: [ - 8, - 8 - ], - dilation: [ - 2, - 2 - ], - input_zp: 0, - weight_zp: 40, - 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, - 3, - 3, - 2 - ], - type: "INT8", - data: [ - 119, - 30, - 220, - 95, - 230, - 95, - 30, - 231, - 145, - 142, - 98, - 195, - 240, - 190, - 50, - 19, - 55, - 99 - ] - }, - { - name: "const-2", - shape: [ - 6 - ], - type: "INT48", - data: [ - 229, - 93, - 122, - 178, - 204, - 215, - 74, - 229, - 236, - 54, - 216, - 71, - 167, - 103, - 214, - 135, - 6, - 182, - 64, - 46, - 141, - 112, - 137, - 125, - 187, - 248, - 62, - 164, - 251, - 141, - 160, - 96, - 167, - 194, - 7, - 150 - ] - }, - { - name: "result-0", - shape: [ - 1, - 2, - 6, - 6 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1