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_st12_pad9999_dilat17') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st12_pad9999_dilat17/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st12_pad9999_dilat17/test.json index c6787cba5..74edc5da5 100644 --- a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st12_pad9999_dilat17/test.json +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_acci48_st12_pad9999_dilat17/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: [ + 9, + 9, + 9, + 9 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 1, + 7 + ], + input_zp: 0, + weight_zp: 36, + 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: [ + 74, + 239, + 116, + 207, + 60, + 70, + 198, + 131 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 252, + 16, + 167, + 174, + 230, + 214, + 251, + 249, + 12, + 51, + 38, + 175, + 161, + 3, + 25, + 237, + 46, + 190, + 33, + 230, + 97, + 158, + 9, + 131, + 145, + 106, + 138, + 61, + 165, + 43, + 226, + 3, + 195, + 48, + 91, + 158, + 165, + 37, + 242, + 86, + 73, + 141, + 35, + 247, + 0, + 206, + 14, + 215 + ] + }, + { + name: "result-0", + shape: [ + 1, + 29, + 26, + 8 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "DEPTHWISE_CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 9, - 9, - 9, - 9 - ], - stride: [ - 1, - 2 - ], - dilation: [ - 1, - 7 - ], - input_zp: 0, - weight_zp: 36, - 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: [ - 74, - 239, - 116, - 207, - 60, - 70, - 198, - 131 - ] - }, - { - name: "const-2", - shape: [ - 8 - ], - type: "INT48", - data: [ - 252, - 16, - 167, - 174, - 230, - 214, - 251, - 249, - 12, - 51, - 38, - 175, - 161, - 3, - 25, - 237, - 46, - 190, - 33, - 230, - 97, - 158, - 9, - 131, - 145, - 106, - 138, - 61, - 165, - 43, - 226, - 3, - 195, - 48, - 91, - 158, - 165, - 37, - 242, - 86, - 73, - 141, - 35, - 247, - 0, - 206, - 14, - 215 - ] - }, - { - name: "result-0", - shape: [ - 1, - 29, - 26, - 8 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1