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 | 255 +++++++++++---------- 1 file changed, 130 insertions(+), 125 deletions(-) (limited to 'operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x9x44x3_i8xi4_acci32_st11_pad0990_dilat11') 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" ] } ] -- cgit v1.2.1