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 | 201 +++++++++++---------- 1 file changed, 103 insertions(+), 98 deletions(-) (limited to 'operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi4_acci32_st11_pad1000_dilat11') diff --git a/operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi4_acci32_st11_pad1000_dilat11/test.json b/operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi4_acci32_st11_pad1000_dilat11/test.json index b694d6c31..cd9f2161f 100644 --- a/operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi4_acci32_st11_pad1000_dilat11/test.json +++ b/operators/tensor/conv2d_1x3/conv2d_1x3_1x65535x4x1_i8xi4_acci32_st11_pad1000_dilat11/test.json @@ -5,116 +5,121 @@ _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, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 64, + weight_zp: 0, + 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: "INT4", + data: [ + 118, + 0 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 252, + 138, + 235, + 62 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65536, + 2, + 1 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 1, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 1 - ], - input_zp: 64, - weight_zp: 0, - 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: "INT4", - data: [ - 118, - 0 - ] - }, - { - name: "const-2", - shape: [ - 1 - ], - type: "INT32", - data: [ - 252, - 138, - 235, - 62 - ] - }, - { - name: "result-0", - shape: [ - 1, - 65536, - 2, - 1 - ], - type: "INT32" - } - ], - inputs: [ - "input-0" - ], - outputs: [ - "result-0" ] } ] -- cgit v1.2.1