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 | 501 +++++++++++---------- 1 file changed, 253 insertions(+), 248 deletions(-) (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11') diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11/test.json index 7c0759f9d..4eaa12e85 100644 --- a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11/test.json +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x15x3x8_i16xi8_acci48_st11_pad0000_os1x15x3x11/test.json @@ -5,266 +5,271 @@ _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, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 18, + 3, + 11 + ], + input_zp: 0, + weight_zp: 109, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 15, + 3, + 8 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 11, + 1, + 1, + 8 + ], + type: "INT8", + data: [ + 165, + 75, + 215, + 58, + 44, + 83, + 20, + 151, + 160, + 180, + 174, + 13, + 246, + 211, + 17, + 88, + 223, + 245, + 98, + 237, + 149, + 175, + 196, + 15, + 231, + 216, + 84, + 243, + 249, + 197, + 246, + 27, + 107, + 86, + 129, + 133, + 85, + 187, + 134, + 45, + 120, + 52, + 162, + 203, + 202, + 201, + 32, + 63, + 203, + 14, + 252, + 227, + 174, + 142, + 113, + 39, + 87, + 202, + 182, + 19, + 50, + 56, + 11, + 246, + 16, + 192, + 169, + 182, + 213, + 52, + 94, + 100, + 229, + 122, + 124, + 77, + 145, + 26, + 200, + 93, + 185, + 227, + 192, + 97, + 18, + 238, + 80, + 24 + ] + }, + { + name: "const-2", + shape: [ + 11 + ], + type: "INT48", + data: [ + 7, + 155, + 80, + 27, + 128, + 171, + 120, + 96, + 71, + 108, + 72, + 255, + 125, + 107, + 152, + 28, + 108, + 215, + 102, + 252, + 173, + 77, + 211, + 221, + 231, + 152, + 119, + 147, + 34, + 25, + 226, + 53, + 207, + 3, + 195, + 97, + 101, + 39, + 219, + 115, + 113, + 83, + 73, + 152, + 186, + 169, + 85, + 217, + 250, + 68, + 120, + 17, + 221, + 59, + 227, + 114, + 139, + 17, + 49, + 12, + 97, + 92, + 51, + 44, + 42, + 217 + ] + }, + { + name: "result-0", + shape: [ + 1, + 18, + 3, + 11 + ], + type: "INT48" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "TRANSPOSE_CONV2D", - attribute_type: "TransposeConvAttribute", - attribute: { - out_pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - output_shape: [ - 1, - 18, - 3, - 11 - ], - input_zp: 0, - weight_zp: 109, - accum_dtype: "INT48" - }, inputs: [ - "input-0", - "const-1", - "const-2" + "input-0" ], outputs: [ "result-0" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 1, - 15, - 3, - 8 - ], - type: "INT16" - }, - { - name: "const-1", - shape: [ - 11, - 1, - 1, - 8 - ], - type: "INT8", - data: [ - 165, - 75, - 215, - 58, - 44, - 83, - 20, - 151, - 160, - 180, - 174, - 13, - 246, - 211, - 17, - 88, - 223, - 245, - 98, - 237, - 149, - 175, - 196, - 15, - 231, - 216, - 84, - 243, - 249, - 197, - 246, - 27, - 107, - 86, - 129, - 133, - 85, - 187, - 134, - 45, - 120, - 52, - 162, - 203, - 202, - 201, - 32, - 63, - 203, - 14, - 252, - 227, - 174, - 142, - 113, - 39, - 87, - 202, - 182, - 19, - 50, - 56, - 11, - 246, - 16, - 192, - 169, - 182, - 213, - 52, - 94, - 100, - 229, - 122, - 124, - 77, - 145, - 26, - 200, - 93, - 185, - 227, - 192, - 97, - 18, - 238, - 80, - 24 - ] - }, - { - name: "const-2", - shape: [ - 11 - ], - type: "INT48", - data: [ - 7, - 155, - 80, - 27, - 128, - 171, - 120, - 96, - 71, - 108, - 72, - 255, - 125, - 107, - 152, - 28, - 108, - 215, - 102, - 252, - 173, - 77, - 211, - 221, - 231, - 152, - 119, - 147, - 34, - 25, - 226, - 53, - 207, - 3, - 195, - 97, - 101, - 39, - 219, - 115, - 113, - 83, - 73, - 152, - 186, - 169, - 85, - 217, - 250, - 68, - 120, - 17, - 221, - 59, - 227, - 114, - 139, - 17, - 49, - 12, - 97, - 92, - 51, - 44, - 42, - 217 - ] - }, - { - name: "result-0", - shape: [ - 1, - 18, - 3, - 11 - ], - type: "INT48" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1