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 | 269 +++++++++++---------- 1 file changed, 137 insertions(+), 132 deletions(-) (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11/test.json index 8a1faaabb..ce401ec4e 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i8xi8_acci32_st11_pad0000_dilat11/test.json @@ -5,150 +5,155 @@ _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: 73, + weight_zp: -6, + 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: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 67, + 206, + 126, + 8, + 73, + 10, + 73, + 124 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 217, + 197, + 151, + 88, + 122, + 185, + 213, + 208, + 234, + 35, + 74, + 139, + 103, + 53, + 238, + 243, + 203, + 198, + 173, + 54, + 105, + 218, + 83, + 89, + 184, + 62, + 16, + 148, + 103, + 70, + 102, + 11 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 33, + 8 + ], + 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: 73, - weight_zp: -6, - 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: [ - 1, - 1, - 4, - 2 - ], - type: "INT8", - data: [ - 67, - 206, - 126, - 8, - 73, - 10, - 73, - 124 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT32", - data: [ - 217, - 197, - 151, - 88, - 122, - 185, - 213, - 208, - 234, - 35, - 74, - 139, - 103, - 53, - 238, - 243, - 203, - 198, - 173, - 54, - 105, - 218, - 83, - 89, - 184, - 62, - 16, - 148, - 103, - 70, - 102, - 11 - ] - }, - { - name: "result-0", - shape: [ - 1, - 11, - 33, - 8 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1