{ | |
version: { | |
_major: 0, | |
_minor: 40, | |
_patch: 0, | |
_draft: false | |
}, | |
blocks: [ | |
{ | |
name: "main", | |
operators: [ | |
{ | |
op: "CONST", | |
attribute_type: "NONE", | |
inputs: [ | |
], | |
outputs: [ | |
"const-1" | |
] | |
}, | |
{ | |
op: "CONST", | |
attribute_type: "NONE", | |
inputs: [ | |
], | |
outputs: [ | |
"const-2" | |
] | |
}, | |
{ | |
op: "DEPTHWISE_CONV2D", | |
attribute_type: "ConvAttribute", | |
attribute: { | |
pad: [ | |
0, | |
9, | |
9, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: 38, | |
weight_zp: 60 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
9, | |
44, | |
3 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
2, | |
2, | |
3, | |
2 | |
], | |
type: "INT8", | |
data: [ | |
199, | |
205, | |
33, | |
172, | |
103, | |
131, | |
87, | |
128, | |
23, | |
208, | |
114, | |
64, | |
190, | |
200, | |
134, | |
9, | |
44, | |
231, | |
94, | |
159, | |
142, | |
12, | |
157, | |
124 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
6 | |
], | |
type: "INT32", | |
data: [ | |
52, | |
70, | |
123, | |
206, | |
146, | |
113, | |
242, | |
126, | |
6, | |
173, | |
87, | |
91, | |
55, | |
222, | |
192, | |
42, | |
155, | |
78, | |
112, | |
166, | |
21, | |
122, | |
232, | |
56 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
17, | |
52, | |
6 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |