{ | |
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, | |
0, | |
9, | |
9 | |
], | |
stride: [ | |
1, | |
2 | |
], | |
dilation: [ | |
1, | |
2 | |
], | |
input_zp: 69, | |
weight_zp: 0 | |
}, | |
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: [ | |
3, | |
1, | |
4, | |
2 | |
], | |
type: "INT4", | |
data: [ | |
42, | |
12, | |
169, | |
205, | |
68, | |
20, | |
9, | |
146, | |
67, | |
49, | |
171, | |
171 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
8 | |
], | |
type: "INT32", | |
data: [ | |
2, | |
104, | |
143, | |
229, | |
87, | |
217, | |
244, | |
143, | |
192, | |
30, | |
171, | |
63, | |
142, | |
117, | |
88, | |
80, | |
37, | |
64, | |
110, | |
187, | |
104, | |
27, | |
233, | |
222, | |
206, | |
166, | |
106, | |
83, | |
252, | |
214, | |
63, | |
76 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
9, | |
26, | |
8 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |