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 | 301 +++++++++++---------- 1 file changed, 153 insertions(+), 148 deletions(-) (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st11_pad0001_dilat77/test.json') 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" ] } ] -- cgit v1.2.1