{ | |
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, | |
9, | |
9, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: -127, | |
weight_zp: 37 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
11, | |
44, | |
13 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
1, | |
1, | |
3, | |
13 | |
], | |
type: "INT8", | |
data: [ | |
203, | |
8, | |
67, | |
243, | |
26, | |
88, | |
7, | |
157, | |
130, | |
130, | |
157, | |
119, | |
209, | |
39, | |
105, | |
135, | |
136, | |
99, | |
78, | |
86, | |
143, | |
84, | |
176, | |
98, | |
237, | |
73, | |
195, | |
155, | |
94, | |
5, | |
246, | |
218, | |
210, | |
128, | |
51, | |
14, | |
166, | |
65, | |
247 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
1 | |
], | |
type: "INT32", | |
data: [ | |
79, | |
18, | |
211, | |
143 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
20, | |
51, | |
1 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |