blob: dfab72993d256389c325568101c3641a1e6c3c5c [file] [log] [blame]
{
version: {
_major: 0,
_minor: 50,
_patch: 0,
_draft: false
},
blocks: [
{
name: "main",
operators: [
{
op: "CONST",
attribute_type: "NONE",
inputs: [
],
outputs: [
"layer_0"
]
},
{
op: "RESCALE",
attribute_type: "RescaleAttribute",
attribute: {
input_zp: 0,
output_zp: 0,
multiplier: [
1073741824
],
shift: [
30
],
scale32: true,
double_round: false,
per_channel: false
},
inputs: [
"TosaInput_0"
],
outputs: [
"layer_1"
]
},
{
op: "GREATER_EQUAL",
attribute_type: "NONE",
inputs: [
"layer_1",
"layer_0"
],
outputs: [
"layer_2"
]
},
{
op: "RESCALE",
attribute_type: "RescaleAttribute",
attribute: {
input_zp: 0,
output_zp: 0,
multiplier: [
1689728900
],
shift: [
33
],
scale32: true,
double_round: true,
per_channel: false
},
inputs: [
"TosaInput_0"
],
outputs: [
"layer_3"
]
},
{
op: "RESCALE",
attribute_type: "RescaleAttribute",
attribute: {
input_zp: 0,
output_zp: 0,
multiplier: [
1073743616
],
shift: [
30
],
scale32: true,
double_round: true,
per_channel: false
},
inputs: [
"TosaInput_0"
],
outputs: [
"layer_4"
]
},
{
op: "SELECT",
attribute_type: "NONE",
inputs: [
"layer_2",
"layer_4",
"layer_3"
],
outputs: [
"TosaOutput_0"
]
}
],
tensors: [
{
name: "TosaInput_0",
shape: [
1,
4,
8,
19
],
type: "INT16",
data: [
]
},
{
name: "TosaOutput_0",
shape: [
1,
4,
8,
19
],
type: "INT16",
data: [
]
},
{
name: "layer_0",
shape: [
1,
1,
1,
1
],
type: "INT32",
data: [
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
name: "layer_1",
shape: [
1,
4,
8,
19
],
type: "INT32",
data: [
]
},
{
name: "layer_2",
shape: [
1,
4,
8,
19
],
type: "BOOL",
data: [
]
},
{
name: "layer_3",
shape: [
1,
4,
8,
19
],
type: "INT16",
data: [
]
},
{
name: "layer_4",
shape: [
1,
4,
8,
19
],
type: "INT16",
data: [
]
}
],
inputs: [
"TosaInput_0"
],
outputs: [
"TosaOutput_0"
]
}
]
}