aboutsummaryrefslogtreecommitdiff
path: root/operators/control_flow/while_loop/while_loop_ERRORIF_InputListOutputListMismatch_12x10_i32_iter0/test.json
diff options
context:
space:
mode:
Diffstat (limited to 'operators/control_flow/while_loop/while_loop_ERRORIF_InputListOutputListMismatch_12x10_i32_iter0/test.json')
-rw-r--r--operators/control_flow/while_loop/while_loop_ERRORIF_InputListOutputListMismatch_12x10_i32_iter0/test.json759
1 files changed, 759 insertions, 0 deletions
diff --git a/operators/control_flow/while_loop/while_loop_ERRORIF_InputListOutputListMismatch_12x10_i32_iter0/test.json b/operators/control_flow/while_loop/while_loop_ERRORIF_InputListOutputListMismatch_12x10_i32_iter0/test.json
new file mode 100644
index 000000000..2f70141f3
--- /dev/null
+++ b/operators/control_flow/while_loop/while_loop_ERRORIF_InputListOutputListMismatch_12x10_i32_iter0/test.json
@@ -0,0 +1,759 @@
+{
+ 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: [
+ 12,
+ 10
+ ],
+ type: "INT32",
+ data: [
+ 220,
+ 46,
+ 0,
+ 0,
+ 42,
+ 108,
+ 0,
+ 0,
+ 168,
+ 62,
+ 0,
+ 0,
+ 220,
+ 221,
+ 255,
+ 255,
+ 174,
+ 119,
+ 0,
+ 0,
+ 45,
+ 233,
+ 255,
+ 255,
+ 105,
+ 211,
+ 255,
+ 255,
+ 209,
+ 103,
+ 0,
+ 0,
+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106,
+ 0,
+ 0,
+ 40,
+ 203,
+ 255,
+ 255,
+ 47,
+ 239,
+ 255,
+ 255,
+ 115,
+ 41,
+ 0,
+ 0,
+ 83,
+ 160,
+ 255,
+ 255,
+ 153,
+ 14,
+ 0,
+ 0,
+ 72,
+ 1,
+ 0,
+ 0,
+ 173,
+ 72,
+ 0,
+ 0,
+ 0,
+ 127,
+ 0,
+ 0,
+ 16,
+ 42,
+ 0,
+ 0,
+ 192,
+ 232,
+ 255,
+ 255,
+ 8,
+ 232,
+ 255,
+ 255,
+ 255,
+ 234,
+ 255,
+ 255,
+ 99,
+ 80,
+ 0,
+ 0,
+ 59,
+ 210,
+ 255,
+ 255,
+ 190,
+ 170,
+ 255,
+ 255,
+ 148,
+ 213,
+ 255,
+ 255,
+ 208,
+ 133,
+ 255,
+ 255,
+ 44,
+ 155,
+ 255,
+ 255,
+ 13,
+ 151,
+ 255,
+ 255,
+ 132,
+ 69,
+ 0,
+ 0,
+ 236,
+ 56,
+ 0,
+ 0,
+ 95,
+ 50,
+ 0,
+ 0,
+ 61,
+ 246,
+ 255,
+ 255,
+ 145,
+ 55,
+ 0,
+ 0,
+ 73,
+ 169,
+ 255,
+ 255,
+ 143,
+ 102,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "input-1",
+ shape: [
+
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 12,
+ 10
+ ],
+ type: "INT32"
+ },
+ {
+ name: "layer-1",
+ shape: [
+
+ ],
+ type: "INT32"
+ },
+ {
+ name: "layer-2",
+ shape: [
+ 12,
+ 10
+ ],
+ type: "INT32"
+ },
+ {
+ name: "layer-3",
+ shape: [
+ 14,
+ 13
+ ],
+ 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: [
+ 12,
+ 10
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 12,
+ 10
+ ],
+ 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: [
+ 12,
+ 10
+ ],
+ type: "INT32"
+ },
+ {
+ name: "input-2",
+ shape: [
+ 12,
+ 10
+ ],
+ type: "INT32"
+ },
+ {
+ name: "const-4",
+ shape: [
+
+ ],
+ type: "INT32",
+ data: [
+ 1,
+ 0,
+ 0,
+ 0
+ ]
+ },
+ {
+ name: "layer-4",
+ shape: [
+
+ ],
+ type: "INT32"
+ },
+ {
+ name: "layer-5",
+ shape: [
+ 12,
+ 10
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-1",
+ "const-0",
+ "input-2"
+ ],
+ outputs: [
+ "layer-4",
+ "const-0",
+ "layer-5"
+ ]
+ }
+ ]
+}