{ | |
version: { | |
_major: 0, | |
_minor: 80, | |
_patch: 0, | |
_draft: true | |
}, | |
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, | |
9, | |
9, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: 125, | |
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: [ | |
3, | |
1, | |
3, | |
3 | |
], | |
type: "INT4", | |
data: [ | |
78, | |
227, | |
29, | |
36, | |
3, | |
156, | |
209, | |
87, | |
45, | |
207, | |
81, | |
48, | |
207, | |
1 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
9 | |
], | |
type: "INT32", | |
data: [ | |
91, | |
159, | |
239, | |
254, | |
208, | |
241, | |
55, | |
236, | |
100, | |
98, | |
73, | |
15, | |
210, | |
133, | |
42, | |
5, | |
247, | |
28, | |
19, | |
214, | |
248, | |
85, | |
6, | |
234, | |
31, | |
244, | |
10, | |
130, | |
238, | |
18, | |
205, | |
85, | |
107, | |
20, | |
205, | |
58 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
16, | |
53, | |
9 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |