blob: e591c2381030049f41fc61c7c97d6437e5ca1f94 [file] [log] [blame]
{
version: {
_major: 0,
_minor: 80,
_patch: 0,
_draft: true
},
regions: [
{
name: "main",
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: [
50,
33,
9
],
type: "INT32"
},
{
name: "input-1",
shape: [
50,
33,
9
],
type: "INT32"
},
{
name: "const-2",
shape: [
],
type: "BOOL",
data: [
0
]
},
{
name: "result-0",
shape: [
50,
33,
9
],
type: "INT32"
}
],
inputs: [
"input-0",
"input-1"
],
outputs: [
"result-0"
]
},
{
name: "THEN_BLOCK",
operators: [
{
op: "ADD",
attribute_type: "NONE",
inputs: [
"input-0",
"input-1"
],
outputs: [
"result-1"
]
}
],
tensors: [
{
name: "input-0",
shape: [
50,
33,
9
],
type: "INT32"
},
{
name: "input-1",
shape: [
50,
33,
9
],
type: "INT32"
},
{
name: "result-1",
shape: [
50,
33,
9
],
type: "INT32"
}
],
inputs: [
"input-0",
"input-1"
],
outputs: [
"result-1"
]
},
{
name: "ELSE_BLOCK",
operators: [
{
op: "SUB",
attribute_type: "NONE",
inputs: [
"input-0",
"input-1"
],
outputs: [
"result-2"
]
}
],
tensors: [
{
name: "input-0",
shape: [
50,
33,
9
],
type: "INT32"
},
{
name: "input-1",
shape: [
50,
33,
9
],
type: "INT32"
},
{
name: "result-2",
shape: [
50,
33,
9
],
type: "INT32"
}
],
inputs: [
"input-0",
"input-1"
],
outputs: [
"result-2"
]
}
]
}
]
}