{ | |
version: { | |
_major: 0, | |
_minor: 40, | |
_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, | |
9, | |
9, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: 57, | |
weight_zp: 0 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
9, | |
44, | |
3 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
3, | |
1, | |
3, | |
2 | |
], | |
type: "INT4", | |
data: [ | |
181, | |
97, | |
85, | |
197, | |
49, | |
7, | |
6, | |
122, | |
111 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
6 | |
], | |
type: "INT32", | |
data: [ | |
187, | |
12, | |
138, | |
123, | |
148, | |
95, | |
251, | |
76, | |
110, | |
14, | |
142, | |
140, | |
235, | |
22, | |
195, | |
64, | |
169, | |
128, | |
236, | |
114, | |
98, | |
11, | |
103, | |
211 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
16, | |
53, | |
6 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |