{ | |
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: "CONV2D", | |
attribute_type: "ConvAttribute", | |
attribute: { | |
pad: [ | |
0, | |
1, | |
1, | |
1 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: 24, | |
weight_zp: -2 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
65535, | |
4, | |
1 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
1, | |
5, | |
5, | |
1 | |
], | |
type: "INT8", | |
data: [ | |
98, | |
246, | |
194, | |
253, | |
173, | |
192, | |
150, | |
232, | |
204, | |
30, | |
65, | |
238, | |
31, | |
5, | |
127, | |
134, | |
238, | |
107, | |
162, | |
134, | |
225, | |
76, | |
118, | |
84, | |
15 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
1 | |
], | |
type: "INT32", | |
data: [ | |
234, | |
250, | |
3, | |
230 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
65532, | |
2, | |
1 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |