{ | |
version: { | |
_major: 0, | |
_minor: 50, | |
_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, | |
0, | |
9, | |
0 | |
], | |
stride: [ | |
2, | |
1 | |
], | |
dilation: [ | |
2, | |
1 | |
], | |
input_zp: 0, | |
weight_zp: 49, | |
accum_dtype: "INT48" | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
49, | |
42, | |
28 | |
], | |
type: "INT16" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
1, | |
1, | |
1, | |
28 | |
], | |
type: "INT8", | |
data: [ | |
18, | |
39, | |
203, | |
243, | |
21, | |
82, | |
198, | |
14, | |
135, | |
243, | |
59, | |
101, | |
147, | |
160, | |
223, | |
175, | |
152, | |
113, | |
49, | |
58, | |
22, | |
253, | |
129, | |
18, | |
40, | |
240, | |
0, | |
177 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
1 | |
], | |
type: "INT48", | |
data: [ | |
132, | |
159, | |
217, | |
112, | |
61, | |
193 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
25, | |
51, | |
1 | |
], | |
type: "INT48" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |