{ | |
version: { | |
_major: 0, | |
_minor: 80, | |
_patch: 0, | |
_draft: true | |
}, | |
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, | |
1, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: 91, | |
weight_zp: 56 | |
}, | |
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: [ | |
2, | |
2, | |
1, | |
4 | |
], | |
type: "INT8", | |
data: [ | |
167, | |
184, | |
84, | |
164, | |
176, | |
216, | |
135, | |
224, | |
187, | |
129, | |
177, | |
49, | |
142, | |
223, | |
34, | |
14 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
4 | |
], | |
type: "INT32", | |
data: [ | |
1, | |
120, | |
208, | |
251, | |
44, | |
49, | |
144, | |
17, | |
64, | |
75, | |
177, | |
189, | |
194, | |
139, | |
118, | |
173 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
3, | |
65537, | |
4 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |