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_resize_bilinear_1x32x32x8_qi16.json | 187 +++++++++++---------- 1 file changed, 96 insertions(+), 91 deletions(-) (limited to 'frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json') diff --git a/frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json b/frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json index 6aff4f565..d12e7eb85 100644 --- a/frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json +++ b/frameworks/tflite/operators/resize_bilinear_1x32x32x8_qi16/test_resize_bilinear_1x32x32x8_qi16.json @@ -5,107 +5,112 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESIZE", - attribute_type: "ResizeAttribute", - attribute: { - scale: [ - 4, - 2, - 4, - 2 - ], - offset: [ - -1, - -1 - ], - border: [ - 1, - 1 - ], - mode: "BILINEAR" - }, - inputs: [ - "TosaInput_0" + name: "main", + operators: [ + { + op: "RESIZE", + attribute_type: "ResizeAttribute", + attribute: { + scale: [ + 4, + 2, + 4, + 2 + ], + offset: [ + -1, + -1 + ], + border: [ + 1, + 1 + ], + mode: "BILINEAR" + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_0" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 16384 + ], + shift: [ + 18 + ], + scale32: false, + double_round: false, + per_channel: false + }, + inputs: [ + "layer_0" + ], + outputs: [ + "TosaOutput_0" + ] + } + ], + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1, + 32, + 32, + 8 + ], + type: "INT16", + data: [ + + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1, + 64, + 64, + 8 + ], + type: "INT16", + data: [ + + ] + }, + { + name: "layer_0", + shape: [ + 1, + 64, + 64, + 8 + ], + type: "INT48", + data: [ + + ] + } ], - outputs: [ - "layer_0" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 0, - multiplier: [ - 16384 - ], - shift: [ - 18 - ], - scale32: false, - double_round: false, - per_channel: false - }, inputs: [ - "layer_0" + "TosaInput_0" ], outputs: [ "TosaOutput_0" ] } - ], - tensors: [ - { - name: "TosaInput_0", - shape: [ - 1, - 32, - 32, - 8 - ], - type: "INT16", - data: [ - - ] - }, - { - name: "TosaOutput_0", - shape: [ - 1, - 64, - 64, - 8 - ], - type: "INT16", - data: [ - - ] - }, - { - name: "layer_0", - shape: [ - 1, - 64, - 64, - 8 - ], - type: "INT48", - data: [ - - ] - } - ], - inputs: [ - "TosaInput_0" - ], - outputs: [ - "TosaOutput_0" ] } ] -- cgit v1.2.1