{ | |
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, | |
0, | |
1, | |
1 | |
], | |
stride: [ | |
8, | |
1 | |
], | |
dilation: [ | |
7, | |
1 | |
], | |
input_zp: -112, | |
weight_zp: 0 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
49, | |
42, | |
28 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
1, | |
1, | |
1, | |
28 | |
], | |
type: "INT4", | |
data: [ | |
81, | |
9, | |
118, | |
204, | |
181, | |
220, | |
217, | |
37, | |
83, | |
175, | |
253, | |
18, | |
67, | |
58 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
1 | |
], | |
type: "INT32", | |
data: [ | |
16, | |
162, | |
117, | |
81 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
7, | |
44, | |
1 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |