blob: a015a18901f6310110337b2d3a0e653e51319fa5 [file] [log] [blame]
{
version: {
_major: 0,
_minor: 70,
_patch: 0,
_draft: false
},
regions: [
{
name: "main",
blocks: [
{
name: "main",
operators: [
{
op: "CONST",
attribute_type: "NONE",
inputs: [
],
outputs: [
"layer_0"
]
},
{
op: "CONST",
attribute_type: "NONE",
inputs: [
],
outputs: [
"layer_1"
]
},
{
op: "RESHAPE",
attribute_type: "ReshapeAttribute",
attribute: {
new_shape: [
1,
1,
8,
2
]
},
inputs: [
"layer_1"
],
outputs: [
"layer_2"
]
},
{
op: "DEPTHWISE_CONV2D",
attribute_type: "ConvAttribute",
attribute: {
pad: [
0,
0,
0,
0
],
stride: [
1,
1
],
dilation: [
2,
1
],
input_zp: 0,
weight_zp: 0
},
inputs: [
"TosaInput_0",
"layer_2",
"layer_0"
],
outputs: [
"layer_3"
]
},
{
op: "RESCALE",
attribute_type: "RescaleAttribute",
attribute: {
input_zp: 0,
output_zp: -1,
multiplier: [
2072913594,
1482336472,
1938950885,
1749241572,
1077647974,
1331307415,
1180952066,
1858315588,
1229813626,
2078664008,
1908438534,
1729325223,
1776415501,
1108276604,
1373859823,
1082204504
],
shift: [
41,
40,
40,
38,
37,
39,
41,
39,
40,
38,
38,
38,
39,
41,
38,
37
],
scale32: true,
double_round: true,
per_channel: true
},
inputs: [
"layer_3"
],
outputs: [
"TosaOutput_0"
]
}
],
tensors: [
{
name: "TosaInput_0",
shape: [
1,
32,
32,
8
],
type: "INT8",
data: [
]
},
{
name: "TosaOutput_0",
shape: [
1,
32,
32,
16
],
type: "INT8",
data: [
]
},
{
name: "layer_0",
shape: [
16
],
type: "INT32",
data: [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
{
name: "layer_1",
shape: [
1,
1,
1,
16
],
type: "INT8",
data: [
129,
129,
129,
129,
127,
127,
129,
127,
127,
129,
127,
129,
127,
129,
127,
127
]
},
{
name: "layer_2",
shape: [
1,
1,
8,
2
],
type: "INT8",
data: [
]
},
{
name: "layer_3",
shape: [
1,
32,
32,
16
],
type: "INT32",
data: [
]
}
],
inputs: [
"TosaInput_0"
],
outputs: [
"TosaOutput_0"
]
}
]
}
]
}