{ | |
version: { | |
_major: 0, | |
_minor: 70, | |
_patch: 0, | |
_draft: false | |
}, | |
regions: [ | |
{ | |
name: "main", | |
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, | |
0, | |
1, | |
0 | |
], | |
stride: [ | |
1, | |
1 | |
], | |
dilation: [ | |
1, | |
1 | |
], | |
input_zp: -100, | |
weight_zp: 58 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
2, | |
65536, | |
1 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
4, | |
2, | |
2, | |
1 | |
], | |
type: "INT8", | |
data: [ | |
40, | |
190, | |
31, | |
94, | |
198, | |
54, | |
185, | |
221, | |
223, | |
24, | |
100, | |
82, | |
129, | |
143, | |
207, | |
162 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
4 | |
], | |
type: "INT32", | |
data: [ | |
194, | |
76, | |
37, | |
240, | |
219, | |
106, | |
217, | |
156, | |
237, | |
71, | |
148, | |
75, | |
166, | |
232, | |
16, | |
116 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
2, | |
65536, | |
4 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |