diff options
Diffstat (limited to 'operators/control_flow/cond_if_binary/cond_if_binary_53x29x32x24_i8_cond1/test.json')
-rw-r--r-- | operators/control_flow/cond_if_binary/cond_if_binary_53x29x32x24_i8_cond1/test.json | 200 |
1 files changed, 200 insertions, 0 deletions
diff --git a/operators/control_flow/cond_if_binary/cond_if_binary_53x29x32x24_i8_cond1/test.json b/operators/control_flow/cond_if_binary/cond_if_binary_53x29x32x24_i8_cond1/test.json new file mode 100644 index 000000000..ab09121ff --- /dev/null +++ b/operators/control_flow/cond_if_binary/cond_if_binary_53x29x32x24_i8_cond1/test.json @@ -0,0 +1,200 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + 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: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + }, + { + name: "const-2", + shape: [ + + ], + type: "BOOL", + data: [ + 1 + ] + }, + { + name: "result-0", + shape: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + } + ], + 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: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + }, + { + name: "result-1", + shape: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + } + ], + 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: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + }, + { + name: "result-2", + shape: [ + 53, + 29, + 32, + 24 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-2" + ] + } + ] +} |