{ | |
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, | |
0, | |
9, | |
9 | |
], | |
stride: [ | |
1, | |
2 | |
], | |
dilation: [ | |
1, | |
2 | |
], | |
input_zp: -74, | |
weight_zp: 39, | |
accum_dtype: "INT32" | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
11, | |
33, | |
4 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
2, | |
2, | |
4, | |
2 | |
], | |
type: "INT8", | |
data: [ | |
131, | |
191, | |
31, | |
118, | |
234, | |
99, | |
64, | |
242, | |
240, | |
22, | |
25, | |
234, | |
202, | |
41, | |
102, | |
39, | |
230, | |
154, | |
236, | |
215, | |
236, | |
24, | |
239, | |
61, | |
92, | |
235, | |
191, | |
18, | |
39, | |
186, | |
242, | |
230 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
8 | |
], | |
type: "INT32", | |
data: [ | |
247, | |
76, | |
209, | |
132, | |
205, | |
50, | |
234, | |
106, | |
196, | |
239, | |
105, | |
173, | |
226, | |
99, | |
171, | |
122, | |
221, | |
14, | |
113, | |
131, | |
144, | |
230, | |
145, | |
118, | |
16, | |
198, | |
255, | |
75, | |
169, | |
156, | |
203, | |
137 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
10, | |
25, | |
8 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |