{ | |
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: [ | |
1, | |
1, | |
1, | |
1 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: -18, | |
weight_zp: 66 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
65532, | |
2, | |
1 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
2, | |
2, | |
1, | |
3 | |
], | |
type: "INT8", | |
data: [ | |
89, | |
38, | |
50, | |
95, | |
252, | |
142, | |
30, | |
224, | |
65, | |
252, | |
97, | |
98 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
3 | |
], | |
type: "INT32", | |
data: [ | |
192, | |
155, | |
161, | |
130, | |
53, | |
252, | |
43, | |
82, | |
92, | |
136, | |
51, | |
8 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
65533, | |
3, | |
3 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |