{ | |
version: { | |
_major: 0, | |
_minor: 50, | |
_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: [ | |
9, | |
0, | |
9, | |
9 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: 47, | |
weight_zp: -68, | |
accum_dtype: "INT32" | |
}, | |
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: [ | |
2, | |
2, | |
4, | |
2 | |
], | |
type: "INT8", | |
data: [ | |
72, | |
166, | |
197, | |
179, | |
220, | |
124, | |
146, | |
252, | |
64, | |
229, | |
95, | |
244, | |
120, | |
57, | |
222, | |
89, | |
141, | |
125, | |
211, | |
58, | |
85, | |
243, | |
111, | |
206, | |
227, | |
74, | |
194, | |
211, | |
123, | |
156, | |
151, | |
219 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
8 | |
], | |
type: "INT32", | |
data: [ | |
194, | |
173, | |
3, | |
202, | |
196, | |
79, | |
127, | |
87, | |
151, | |
51, | |
32, | |
178, | |
154, | |
160, | |
145, | |
221, | |
6, | |
3, | |
236, | |
230, | |
196, | |
66, | |
13, | |
91, | |
129, | |
187, | |
240, | |
190, | |
81, | |
124, | |
80, | |
245 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
19, | |
50, | |
8 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |