{ | |
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: [ | |
1, | |
0, | |
0, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: -36, | |
weight_zp: 16 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
4, | |
65537, | |
1 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
3, | |
3, | |
1, | |
4 | |
], | |
type: "INT8", | |
data: [ | |
168, | |
139, | |
162, | |
130, | |
109, | |
190, | |
198, | |
152, | |
198, | |
107, | |
78, | |
23, | |
12, | |
218, | |
93, | |
179, | |
98, | |
189, | |
45, | |
243, | |
206, | |
175, | |
148, | |
106, | |
177, | |
137, | |
183, | |
84, | |
153, | |
53, | |
193, | |
152, | |
216, | |
118, | |
2, | |
49 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
4 | |
], | |
type: "INT32", | |
data: [ | |
78, | |
16, | |
7, | |
221, | |
201, | |
102, | |
81, | |
189, | |
248, | |
58, | |
203, | |
115, | |
92, | |
229, | |
120, | |
251 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
3, | |
65535, | |
4 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |