{ | |
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: [ | |
0, | |
0, | |
0, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: 66, | |
weight_zp: 0, | |
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: [ | |
1, | |
3, | |
4, | |
2 | |
], | |
type: "INT4", | |
data: [ | |
228, | |
30, | |
209, | |
15, | |
171, | |
160, | |
243, | |
98, | |
164, | |
242, | |
253, | |
241 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
8 | |
], | |
type: "INT32", | |
data: [ | |
99, | |
251, | |
172, | |
212, | |
108, | |
128, | |
77, | |
132, | |
115, | |
171, | |
225, | |
189, | |
115, | |
24, | |
44, | |
74, | |
102, | |
22, | |
168, | |
41, | |
37, | |
20, | |
226, | |
200, | |
201, | |
157, | |
91, | |
11, | |
237, | |
130, | |
34, | |
90 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
11, | |
31, | |
8 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |