aboutsummaryrefslogtreecommitdiff
path: root/operators/control_flow/cond_if_binary/cond_if_binary_ERRORIF_CondIfOutputListThenGraphMismatch_12_i16_cond0/test.json
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:09 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:09 +0100
commitd2d22b3e074fa6be55ca3d568540e820e50f44be (patch)
treea378828b3295cc0d12f046b6ed3267af4e9b2ae4 /operators/control_flow/cond_if_binary/cond_if_binary_ERRORIF_CondIfOutputListThenGraphMismatch_12_i16_cond0/test.json
parent00dde3db31f3648d0a02a0b382c9e91c9dee9214 (diff)
downloadconformance_tests-d2d22b3e074fa6be55ca3d568540e820e50f44be.tar.gz
Updating CONTROL_FLOW tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I4ae422b36f7867a762ea2940a332afa6c5c153a8
Diffstat (limited to 'operators/control_flow/cond_if_binary/cond_if_binary_ERRORIF_CondIfOutputListThenGraphMismatch_12_i16_cond0/test.json')
-rw-r--r--operators/control_flow/cond_if_binary/cond_if_binary_ERRORIF_CondIfOutputListThenGraphMismatch_12_i16_cond0/test.json173
1 files changed, 173 insertions, 0 deletions
diff --git a/operators/control_flow/cond_if_binary/cond_if_binary_ERRORIF_CondIfOutputListThenGraphMismatch_12_i16_cond0/test.json b/operators/control_flow/cond_if_binary/cond_if_binary_ERRORIF_CondIfOutputListThenGraphMismatch_12_i16_cond0/test.json
new file mode 100644
index 000000000..0c73a740f
--- /dev/null
+++ b/operators/control_flow/cond_if_binary/cond_if_binary_ERRORIF_CondIfOutputListThenGraphMismatch_12_i16_cond0/test.json
@@ -0,0 +1,173 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ 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: [
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "const-2",
+ shape: [
+
+ ],
+ type: "BOOL",
+ data: [
+ 0
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ },
+ {
+ name: "THEN_BLOCK",
+ operators: [
+ {
+ op: "LOGICAL_RIGHT_SHIFT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-1"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-1",
+ shape: [
+ 10
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-1"
+ ]
+ },
+ {
+ name: "ELSE_BLOCK",
+ operators: [
+ {
+ op: "LOGICAL_LEFT_SHIFT",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-2"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 12
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-2",
+ shape: [
+ 12
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-2"
+ ]
+ }
+ ]
+}