{ | |
version: { | |
_major: 0, | |
_minor: 50, | |
_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: 94, | |
weight_zp: 87, | |
accum_dtype: "INT32" | |
}, | |
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: [ | |
20, | |
188, | |
165, | |
98, | |
60, | |
211, | |
130, | |
104, | |
116, | |
196, | |
144, | |
15, | |
253, | |
112, | |
91, | |
47, | |
146, | |
183, | |
182, | |
25, | |
227, | |
200, | |
77, | |
4 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
6 | |
], | |
type: "INT32", | |
data: [ | |
74, | |
49, | |
73, | |
32, | |
221, | |
29, | |
252, | |
11, | |
76, | |
122, | |
224, | |
83, | |
114, | |
46, | |
165, | |
88, | |
148, | |
217, | |
163, | |
31, | |
149, | |
159, | |
143, | |
43 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
17, | |
52, | |
6 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |