{ | |
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: [ | |
1, | |
1, | |
1, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: -6, | |
weight_zp: 0 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
5, | |
65536, | |
1 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
1, | |
3, | |
3, | |
1 | |
], | |
type: "INT4", | |
data: [ | |
91, | |
6, | |
82, | |
65, | |
9 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
1 | |
], | |
type: "INT32", | |
data: [ | |
103, | |
235, | |
96, | |
206 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
5, | |
65535, | |
1 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |