{ | |
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, | |
0, | |
1 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: 46, | |
weight_zp: 109 | |
}, | |
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: [ | |
241, | |
56, | |
113, | |
63, | |
254, | |
4, | |
197, | |
105, | |
222, | |
163, | |
1, | |
193, | |
155, | |
225, | |
147, | |
50, | |
102, | |
50, | |
212, | |
15, | |
241, | |
252, | |
51, | |
93, | |
34, | |
29, | |
212, | |
38, | |
211, | |
210, | |
254, | |
119, | |
37, | |
30, | |
186, | |
36 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
4 | |
], | |
type: "INT32", | |
data: [ | |
117, | |
202, | |
130, | |
30, | |
231, | |
120, | |
172, | |
20, | |
177, | |
155, | |
85, | |
245, | |
78, | |
233, | |
55, | |
95 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
2, | |
65536, | |
4 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |