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 /operators/control_flow/cond_if_binary/cond_if_binary_3x22x17x1x2_i32_cond0 | |
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 'operators/control_flow/cond_if_binary/cond_if_binary_3x22x17x1x2_i32_cond0')
-rw-r--r-- | operators/control_flow/cond_if_binary/cond_if_binary_3x22x17x1x2_i32_cond0/test.json | 331 |
1 files changed, 168 insertions, 163 deletions
diff --git a/operators/control_flow/cond_if_binary/cond_if_binary_3x22x17x1x2_i32_cond0/test.json b/operators/control_flow/cond_if_binary/cond_if_binary_3x22x17x1x2_i32_cond0/test.json index 05b57716e..57524e45e 100644 --- a/operators/control_flow/cond_if_binary/cond_if_binary_3x22x17x1x2_i32_cond0/test.json +++ b/operators/control_flow/cond_if_binary/cond_if_binary_3x22x17x1x2_i32_cond0/test.json @@ -5,96 +5,143 @@ _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-2" + ] + }, + { + op: "COND_IF", + attribute_type: "CondIfAttribute", + attribute: { + then_branch: "THEN_BLOCK", + else_branch: "ELSE_BLOCK" + }, + inputs: [ + "const-2", + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + }, + { + name: "const-2", + shape: [ + + ], + type: "BOOL", + data: [ + 0 + ] + }, + { + name: "result-0", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + } ], - outputs: [ - "const-2" - ] - }, - { - op: "COND_IF", - attribute_type: "CondIfAttribute", - attribute: { - then_branch: "THEN_BLOCK", - else_branch: "ELSE_BLOCK" - }, inputs: [ - "const-2", "input-0", "input-1" ], outputs: [ "result-0" ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 17, - 1, - 2 - ], - type: "INT32" }, { - name: "input-1", - shape: [ - 3, - 22, - 17, - 1, - 2 + name: "THEN_BLOCK", + operators: [ + { + op: "ADD", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-1" + ] + } ], - type: "INT32" - }, - { - name: "const-2", - shape: [ - - ], - type: "BOOL", - data: [ - 0 - ] - }, - { - name: "result-0", - shape: [ - 3, - 22, - 17, - 1, - 2 + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + }, + { + name: "result-1", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + } ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-0" - ] - }, - { - name: "THEN_BLOCK", - operators: [ - { - op: "ADD", - attribute_type: "NONE", inputs: [ "input-0", "input-1" @@ -102,57 +149,57 @@ outputs: [ "result-1" ] - } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 17, - 1, - 2 - ], - type: "INT32" }, { - name: "input-1", - shape: [ - 3, - 22, - 17, - 1, - 2 + name: "ELSE_BLOCK", + operators: [ + { + op: "SUB", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-2" + ] + } ], - type: "INT32" - }, - { - name: "result-1", - shape: [ - 3, - 22, - 17, - 1, - 2 + tensors: [ + { + name: "input-0", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + }, + { + name: "result-2", + shape: [ + 3, + 22, + 17, + 1, + 2 + ], + type: "INT32" + } ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-1" - ] - }, - { - name: "ELSE_BLOCK", - operators: [ - { - op: "SUB", - attribute_type: "NONE", inputs: [ "input-0", "input-1" @@ -161,48 +208,6 @@ "result-2" ] } - ], - tensors: [ - { - name: "input-0", - shape: [ - 3, - 22, - 17, - 1, - 2 - ], - type: "INT32" - }, - { - name: "input-1", - shape: [ - 3, - 22, - 17, - 1, - 2 - ], - type: "INT32" - }, - { - name: "result-2", - shape: [ - 3, - 22, - 17, - 1, - 2 - ], - type: "INT32" - } - ], - inputs: [ - "input-0", - "input-1" - ], - outputs: [ - "result-2" ] } ] |