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 | 203 +++++++++++---------- 1 file changed, 104 insertions(+), 99 deletions(-) (limited to 'operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi8_acci32_st81_pad1100_dilat71') diff --git a/operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi8_acci32_st81_pad1100_dilat71/test.json b/operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi8_acci32_st81_pad1100_dilat71/test.json index b412defc0..d7624ba73 100644 --- a/operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi8_acci32_st81_pad1100_dilat71/test.json +++ b/operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi8_acci32_st81_pad1100_dilat71/test.json @@ -5,117 +5,122 @@ _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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 0, + 0 + ], + stride: [ + 8, + 1 + ], + dilation: [ + 7, + 1 + ], + input_zp: 53, + weight_zp: 120, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65535, + 4, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 3, + 1 + ], + type: "INT8", + data: [ + 122, + 33, + 46 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 166, + 96, + 8, + 61 + ] + }, + { + name: "result-0", + shape: [ + 1, + 8193, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 1, - 0, - 0 - ], - stride: [ - 8, - 1 - ], - dilation: [ - 7, - 1 - ], - input_zp: 53, - weight_zp: 120, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 65535, - 4, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 3, - 1 - ], - type: "INT8", - data: [ - 122, - 33, - 46 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 166, - 96, - 8, - 61 - ] - }, - { - name: "result-0", - shape: [ - 1, - 8193, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1