{ | |
version: { | |
_major: 0, | |
_minor: 60, | |
_patch: 0, | |
_draft: false | |
}, | |
regions: [ | |
{ | |
name: "main", | |
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, | |
0 | |
], | |
stride: [ | |
2, | |
1 | |
], | |
dilation: [ | |
2, | |
1 | |
], | |
input_zp: 118, | |
weight_zp: 0 | |
}, | |
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: [ | |
1, | |
1, | |
3, | |
3 | |
], | |
type: "INT4", | |
data: [ | |
237, | |
195, | |
161, | |
75, | |
14 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
9 | |
], | |
type: "INT32", | |
data: [ | |
166, | |
44, | |
43, | |
75, | |
146, | |
209, | |
216, | |
60, | |
109, | |
119, | |
48, | |
127, | |
93, | |
217, | |
55, | |
163, | |
92, | |
57, | |
66, | |
111, | |
209, | |
250, | |
89, | |
100, | |
209, | |
185, | |
68, | |
239, | |
232, | |
74, | |
162, | |
162, | |
136, | |
183, | |
37, | |
162 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
5, | |
53, | |
9 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |