diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 15:17:52 +0000 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-01-16 16:40:57 +0000 |
commit | b08fb3e856b7757403ff9aafc9487f9c0ad61fe7 (patch) | |
tree | 4b4737ff52e92c1c17922a972384930953a26a61 /frameworks/tflite/operators/add_1_qi16/test_add_1_qi16.json | |
parent | 007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (diff) | |
download | conformance_tests-b08fb3e856b7757403ff9aafc9487f9c0ad61fe7.tar.gz |
Regen tests after control flow operator support
Includes removing 3 tests that are not needed anymore.
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I2c62d95a7b053e9016000d90125e00862f94200e
Diffstat (limited to 'frameworks/tflite/operators/add_1_qi16/test_add_1_qi16.json')
-rw-r--r-- | frameworks/tflite/operators/add_1_qi16/test_add_1_qi16.json | 287 |
1 files changed, 146 insertions, 141 deletions
diff --git a/frameworks/tflite/operators/add_1_qi16/test_add_1_qi16.json b/frameworks/tflite/operators/add_1_qi16/test_add_1_qi16.json index 4649b7682..66c8f928f 100644 --- a/frameworks/tflite/operators/add_1_qi16/test_add_1_qi16.json +++ b/frameworks/tflite/operators/add_1_qi16/test_add_1_qi16.json @@ -5,159 +5,164 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 0, - multiplier: [ - 2144009193 - ], - shift: [ - 17 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "TosaInput_0" - ], - outputs: [ - "layer_0" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 0, - multiplier: [ - 1073741824 - ], - shift: [ - 16 - ], - scale32: true, - double_round: false, - per_channel: false - }, - inputs: [ - "TosaInput_1" - ], - outputs: [ - "layer_1" - ] - }, - { - op: "ADD", - attribute_type: "NONE", - inputs: [ - "layer_0", - "layer_1" - ], - outputs: [ - "layer_2" - ] - }, - { - op: "RESCALE", - attribute_type: "RescaleAttribute", - attribute: { - input_zp: 0, - output_zp: 0, - multiplier: [ - 1152071270 - ], - shift: [ - 45 - ], - scale32: true, - double_round: true, - per_channel: false - }, - inputs: [ - "layer_2" - ], - outputs: [ - "TosaOutput_0" - ] - } - ], - tensors: [ - { - name: "TosaInput_0", - shape: [ - 1 + name: "main", + operators: [ + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 2144009193 + ], + shift: [ + 17 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "TosaInput_0" + ], + outputs: [ + "layer_0" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 1073741824 + ], + shift: [ + 16 + ], + scale32: true, + double_round: false, + per_channel: false + }, + inputs: [ + "TosaInput_1" + ], + outputs: [ + "layer_1" + ] + }, + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "layer_0", + "layer_1" + ], + outputs: [ + "layer_2" + ] + }, + { + op: "RESCALE", + attribute_type: "RescaleAttribute", + attribute: { + input_zp: 0, + output_zp: 0, + multiplier: [ + 1152071270 + ], + shift: [ + 45 + ], + scale32: true, + double_round: true, + per_channel: false + }, + inputs: [ + "layer_2" + ], + outputs: [ + "TosaOutput_0" + ] + } ], - type: "INT16", - data: [ + tensors: [ + { + name: "TosaInput_0", + shape: [ + 1 + ], + type: "INT16", + data: [ - ] - }, - { - name: "TosaInput_1", - shape: [ - 1 - ], - type: "INT16", - data: [ + ] + }, + { + name: "TosaInput_1", + shape: [ + 1 + ], + type: "INT16", + data: [ - ] - }, - { - name: "TosaOutput_0", - shape: [ - 1 - ], - type: "INT16", - data: [ + ] + }, + { + name: "TosaOutput_0", + shape: [ + 1 + ], + type: "INT16", + data: [ - ] - }, - { - name: "layer_0", - shape: [ - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_0", + shape: [ + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_1", - shape: [ - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_1", + shape: [ + 1 + ], + type: "INT32", + data: [ - ] - }, - { - name: "layer_2", - shape: [ - 1 - ], - type: "INT32", - data: [ + ] + }, + { + name: "layer_2", + shape: [ + 1 + ], + type: "INT32", + data: [ + ] + } + ], + inputs: [ + "TosaInput_0", + "TosaInput_1" + ], + outputs: [ + "TosaOutput_0" ] } - ], - inputs: [ - "TosaInput_0", - "TosaInput_1" - ], - outputs: [ - "TosaOutput_0" ] } ] |