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/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1') diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1/test.json index 113b595c0..09419dd5c 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x49x33x1_i8xi4_acci32_st81_pad0099_os1x385x51x1/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: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 9, + 9 + ], + stride: [ + 8, + 1 + ], + output_shape: [ + 1, + 385, + 51, + 1 + ], + input_zp: 120, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49, + 33, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 15 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 193, + 8, + 1, + 217 + ] + }, + { + name: "result-0", + shape: [ + 1, + 385, + 51, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 9, - 9 - ], - stride: [ - 8, - 1 - ], - output_shape: [ - 1, - 385, - 51, - 1 - ], - input_zp: 120, - weight_zp: 0, - accum_dtype: "INT32" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 49, - 33, - 1 - ], - type: "INT8" - }, - { - name: "const-1", - shape: [ - 1, - 1, - 1, - 1 - ], - type: "INT4", - data: [ - 15 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 193, - 8, - 1, - 217 - ] - }, - { - name: "result-0", - shape: [ - 1, - 385, - 51, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1