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 --- ...as_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json | 715 +++++++++++---------- 1 file changed, 360 insertions(+), 355 deletions(-) (limited to 'frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12') diff --git a/frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12/test_conv2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json b/frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12/test_conv2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json index 050dacba0..3417f2dc5 100644 --- a/frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12/test_conv2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json +++ b/frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12/test_conv2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json @@ -5,374 +5,379 @@ _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: [ - "layer_0" - ] - }, - { - op: "CONST", - attribute_type: "NONE", - inputs: [ + ], + outputs: [ + "layer_0" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + ], + outputs: [ + "layer_1" + ] + }, + { + op: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 2 + ], + input_zp: -1, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "TosaInput_0", + "layer_1", + "layer_0" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 4, + multiplier: [ + 1717751353, + 1864761810, + 1578560219, + 1883719555, + 1312860824, + 1851447210, + 1501694051, + 1692688489, + 1561232653, + 1742652740, + 1545340339, + 1912693101, + 1689229689, + 1707610702, + 1792320801, + 1822592616 + ], + shift: [ + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40, + 40 + ], + scale32: true, + double_round: true, + per_channel: true + }, + inputs: [ + "layer_2" + ], + outputs: [ + "TosaOutput_0" + ] + } ], - outputs: [ - "layer_1" - ] - }, - { - op: "CONV2D", - attribute_type: "ConvAttribute", - attribute: { - pad: [ - 0, - 0, - 0, - 0 - ], - stride: [ - 1, - 1 - ], - dilation: [ - 1, - 2 - ], - input_zp: -1, - weight_zp: 0, - accum_dtype: "INT32" - }, - inputs: [ - "TosaInput_0", - "layer_1", - "layer_0" + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 32, + 32, + 16 + ], + type: "INT8", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 16 + ], + type: "INT32", + data: [ + 244, + 25, + 0, + 0, + 33, + 9, + 0, + 0, + 252, + 247, + 255, + 255, + 4, + 234, + 255, + 255, + 110, + 40, + 0, + 0, + 216, + 13, + 0, + 0, + 10, + 30, + 0, + 0, + 102, + 249, + 255, + 255, + 67, + 217, + 255, + 255, + 185, + 26, + 0, + 0, + 173, + 0, + 0, + 0, + 79, + 232, + 255, + 255, + 53, + 17, + 0, + 0, + 116, + 230, + 255, + 255, + 175, + 33, + 0, + 0, + 60, + 229, + 255, + 255 + ] + }, + { + name: "layer_1", + shape: [ + 16, + 1, + 1, + 8 + ], + type: "INT8", + data: [ + 92, + 254, + 76, + 31, + 108, + 158, + 129, + 6, + 196, + 56, + 157, + 113, + 232, + 205, + 100, + 129, + 203, + 129, + 188, + 124, + 154, + 230, + 124, + 107, + 68, + 197, + 139, + 135, + 191, + 15, + 170, + 127, + 64, + 205, + 145, + 160, + 121, + 127, + 21, + 187, + 242, + 136, + 68, + 168, + 129, + 169, + 196, + 34, + 189, + 122, + 156, + 127, + 51, + 210, + 30, + 180, + 126, + 52, + 75, + 204, + 254, + 129, + 114, + 7, + 93, + 38, + 129, + 45, + 86, + 236, + 116, + 116, + 129, + 191, + 191, + 203, + 123, + 196, + 69, + 61, + 129, + 30, + 207, + 54, + 34, + 186, + 212, + 239, + 6, + 185, + 84, + 111, + 183, + 87, + 207, + 129, + 146, + 240, + 27, + 129, + 138, + 114, + 68, + 236, + 218, + 253, + 226, + 129, + 220, + 51, + 48, + 132, + 135, + 210, + 236, + 116, + 171, + 129, + 16, + 216, + 41, + 248, + 130, + 129, + 242, + 72, + 208, + 17 + ] + }, + { + name: "layer_2", + shape: [ + 1, + 32, + 32, + 16 + ], + type: "INT32", + data: [ + + ] + } ], - outputs: [ - "layer_2" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 4, - multiplier: [ - 1717751353, - 1864761810, - 1578560219, - 1883719555, - 1312860824, - 1851447210, - 1501694051, - 1692688489, - 1561232653, - 1742652740, - 1545340339, - 1912693101, - 1689229689, - 1707610702, - 1792320801, - 1822592616 - ], - shift: [ - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40, - 40 - ], - scale32: true, - double_round: true, - per_channel: true - }, inputs: [ - "layer_2" + "TosaInput_0" ], outputs: [ "TosaOutput_0" ] } - ], - tensors: [ - { - name: "TosaInput_0", - shape: [ - 1, - 32, - 32, - 8 - ], - type: "INT8", - data: [ - - ] - }, - { - name: "TosaOutput_0", - shape: [ - 1, - 32, - 32, - 16 - ], - type: "INT8", - data: [ - - ] - }, - { - name: "layer_0", - shape: [ - 16 - ], - type: "INT32", - data: [ - 244, - 25, - 0, - 0, - 33, - 9, - 0, - 0, - 252, - 247, - 255, - 255, - 4, - 234, - 255, - 255, - 110, - 40, - 0, - 0, - 216, - 13, - 0, - 0, - 10, - 30, - 0, - 0, - 102, - 249, - 255, - 255, - 67, - 217, - 255, - 255, - 185, - 26, - 0, - 0, - 173, - 0, - 0, - 0, - 79, - 232, - 255, - 255, - 53, - 17, - 0, - 0, - 116, - 230, - 255, - 255, - 175, - 33, - 0, - 0, - 60, - 229, - 255, - 255 - ] - }, - { - name: "layer_1", - shape: [ - 16, - 1, - 1, - 8 - ], - type: "INT8", - data: [ - 92, - 254, - 76, - 31, - 108, - 158, - 129, - 6, - 196, - 56, - 157, - 113, - 232, - 205, - 100, - 129, - 203, - 129, - 188, - 124, - 154, - 230, - 124, - 107, - 68, - 197, - 139, - 135, - 191, - 15, - 170, - 127, - 64, - 205, - 145, - 160, - 121, - 127, - 21, - 187, - 242, - 136, - 68, - 168, - 129, - 169, - 196, - 34, - 189, - 122, - 156, - 127, - 51, - 210, - 30, - 180, - 126, - 52, - 75, - 204, - 254, - 129, - 114, - 7, - 93, - 38, - 129, - 45, - 86, - 236, - 116, - 116, - 129, - 191, - 191, - 203, - 123, - 196, - 69, - 61, - 129, - 30, - 207, - 54, - 34, - 186, - 212, - 239, - 6, - 185, - 84, - 111, - 183, - 87, - 207, - 129, - 146, - 240, - 27, - 129, - 138, - 114, - 68, - 236, - 218, - 253, - 226, - 129, - 220, - 51, - 48, - 132, - 135, - 210, - 236, - 116, - 171, - 129, - 16, - 216, - 41, - 248, - 130, - 129, - 242, - 72, - 208, - 17 - ] - }, - { - name: "layer_2", - shape: [ - 1, - 32, - 32, - 16 - ], - type: "INT32", - data: [ - - ] - } - ], - inputs: [ - "TosaInput_0" - ], - outputs: [ - "TosaOutput_0" ] } ] -- cgit v1.2.1