aboutsummaryrefslogtreecommitdiff
path: root/operators/control_flow/while_loop/while_loop_ERRORIF_InputListBodyGraphOutputMismatch_7_i32_iter0/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/control_flow/while_loop/while_loop_ERRORIF_InputListBodyGraphOutputMismatch_7_i32_iter0/test.json')
-rw-r--r--operators/control_flow/while_loop/while_loop_ERRORIF_InputListBodyGraphOutputMismatch_7_i32_iter0/test.json298
1 files changed, 298 insertions, 0 deletions
diff --git a/operators/control_flow/while_loop/while_loop_ERRORIF_InputListBodyGraphOutputMismatch_7_i32_iter0/test.json b/operators/control_flow/while_loop/while_loop_ERRORIF_InputListBodyGraphOutputMismatch_7_i32_iter0/test.json
new file mode 100644
index 000000000..f2da71b4a
--- /dev/null
+++ b/operators/control_flow/while_loop/while_loop_ERRORIF_InputListBodyGraphOutputMismatch_7_i32_iter0/test.json
@@ -0,0 +1,298 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-0"
+ ]
+ },
+ {
+ op: "WHILE_LOOP",
+ attribute_type: "WhileLoopAttribute",
+ attribute: {
+ cond_branch: "COND_BLOCK",
+ body_branch: "BODY_BLOCK"
+ },
+ inputs: [
+ "input-1",
+ "const-0",
+ "input-2"
+ ],
+ outputs: [
+ "layer-1",
+ "layer-2",
+ "layer-3"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "const-0",
+ shape: [
+ 7
+ ],
+ type: "INT32",
+ data: [
+ 89,
+ 203,
+ 255,
+ 255,
+ 150,
+ 134,
+ 255,
+ 255,
+ 74,
+ 193,
+ 255,
+ 255,
+ 69,
+ 11,
+ 0,
+ 0,
+ 124,
+ 219,
+ 255,
+ 255,
+ 135,
+ 192,
+ 255,
+ 255,
+ 3,
+ 106,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "input-1",
+ shape: [
+
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 7
+ ],
+ type: "INT32"
+ },
+ {
+ name: "layer-1",
+ shape: [
+
+ ],
+ type: "INT32"
+ },
+ {
+ name: "layer-2",
+ shape: [
+ 7
+ ],
+ type: "INT32"
+ },
+ {
+ name: "layer-3",
+ shape: [
+ 7
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-1",
+ "input-2"
+ ],
+ outputs: [
+ "layer-3"
+ ]
+ },
+ {
+ name: "COND_BLOCK",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-3"
+ ]
+ },
+ {
+ op: "GREATER",
+ attribute_type: "NONE",
+ inputs: [
+ "input-1",
+ "const-3"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-1",
+ shape: [
+
+ ],
+ type: "INT32"
+ },
+ {
+ name: "const-0",
+ shape: [
+ 7
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 7
+ ],
+ type: "INT32"
+ },
+ {
+ name: "const-3",
+ shape: [
+
+ ],
+ type: "INT32",
+ data: [
+ 0,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+
+ ],
+ type: "BOOL"
+ }
+ ],
+ inputs: [
+ "input-1",
+ "const-0",
+ "input-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ },
+ {
+ name: "BODY_BLOCK",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-4"
+ ]
+ },
+ {
+ op: "ADD",
+ attribute_type: "NONE",
+ inputs: [
+ "const-0",
+ "input-2"
+ ],
+ outputs: [
+ "layer-5"
+ ]
+ },
+ {
+ op: "SUB",
+ attribute_type: "NONE",
+ inputs: [
+ "input-1",
+ "const-4"
+ ],
+ outputs: [
+ "layer-4"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-1",
+ shape: [
+
+ ],
+ type: "INT32"
+ },
+ {
+ name: "const-0",
+ shape: [
+ 7
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 7
+ ],
+ type: "INT32"
+ },
+ {
+ name: "const-4",
+ shape: [
+
+ ],
+ type: "INT32",
+ data: [
+ 1,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "layer-4",
+ shape: [
+ 2
+ ],
+ type: "INT32"
+ },
+ {
+ name: "layer-5",
+ shape: [
+ 9
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-1",
+ "const-0",
+ "input-2"
+ ],
+ outputs: [
+ "layer-4",
+ "const-0",
+ "layer-5"
+ ]
+ }
+ ]
+}