{ | |
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: 73, | |
weight_zp: -6, | |
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, | |
1, | |
4, | |
2 | |
], | |
type: "INT8", | |
data: [ | |
67, | |
206, | |
126, | |
8, | |
73, | |
10, | |
73, | |
124 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
8 | |
], | |
type: "INT32", | |
data: [ | |
217, | |
197, | |
151, | |
88, | |
122, | |
185, | |
213, | |
208, | |
234, | |
35, | |
74, | |
139, | |
103, | |
53, | |
238, | |
243, | |
203, | |
198, | |
173, | |
54, | |
105, | |
218, | |
83, | |
89, | |
184, | |
62, | |
16, | |
148, | |
103, | |
70, | |
102, | |
11 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
11, | |
33, | |
8 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |