blob: 32c7f7824fa8463ae4939f4a409e2442d31c02af [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: "CONV2D",
attribute_type: "ConvAttribute",
attribute: {
pad: [
0,
0,
0,
0
],
stride: [
1,
1
],
dilation: [
1,
2
],
input_zp: -1,
weight_zp: 0
},
inputs: [
"TosaInput_0",
"layer_1",
"layer_0"
],
outputs: [
"layer_2"
]
},
{
op: "RESCALE",
attribute_type: "RescaleAttribute",
attribute: {
input_zp: 0,
output_zp: 4,
multiplier: [
1717751353,
1864761810,
1578560219,
1883719555,
1312860824,
1851447210,
1501694051,
1692688489,
1561232653,
1742652740,
1545340339,
1912693101,
1689229689,
1707610702,
1792320801,
1822592616
],
shift: [
40,
40,
40,
40,
40,
40,
40,
40,
40,
40,
40,
40,
40,
40,
40,
40
],
scale32: true,
double_round: true,
per_channel: true
},
inputs: [
"layer_2"
],
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: [
244,
25,
0,
0,
33,
9,
0,
0,
252,
247,
255,
255,
4,
234,
255,
255,
110,
40,
0,
0,
216,
13,
0,
0,
10,
30,
0,
0,
102,
249,
255,
255,
67,
217,
255,
255,
185,
26,
0,
0,
173,
0,
0,
0,
79,
232,
255,
255,
53,
17,
0,
0,
116,
230,
255,
255,
175,
33,
0,
0,
60,
229,
255,
255
]
},
{
name: "layer_1",
shape: [
16,
1,
1,
8
],
type: "INT8",
data: [
92,
254,
76,
31,
108,
158,
129,
6,
196,
56,
157,
113,
232,
205,
100,
129,
203,
129,
188,
124,
154,
230,
124,
107,
68,
197,
139,
135,
191,
15,
170,
127,
64,
205,
145,
160,
121,
127,
21,
187,
242,
136,
68,
168,
129,
169,
196,
34,
189,
122,
156,
127,
51,
210,
30,
180,
126,
52,
75,
204,
254,
129,
114,
7,
93,
38,
129,
45,
86,
236,
116,
116,
129,
191,
191,
203,
123,
196,
69,
61,
129,
30,
207,
54,
34,
186,
212,
239,
6,
185,
84,
111,
183,
87,
207,
129,
146,
240,
27,
129,
138,
114,
68,
236,
218,
253,
226,
129,
220,
51,
48,
132,
135,
210,
236,
116,
171,
129,
16,
216,
41,
248,
130,
129,
242,
72,
208,
17
]
},
{
name: "layer_2",
shape: [
1,
32,
32,
16
],
type: "INT32",
data: [
]
}
],
inputs: [
"TosaInput_0"
],
outputs: [
"TosaOutput_0"
]
}
]
}
]
}