{ | |
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: "FULLY_CONNECTED", | |
attribute_type: "FullyConnectedAttribute", | |
attribute: { | |
input_zp: -21, | |
weight_zp: 0, | |
accum_dtype: "INT32" | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
11, | |
6, | |
2, | |
15 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
7, | |
6 | |
], | |
type: "INT4", | |
data: [ | |
196, | |
182, | |
201, | |
36, | |
46, | |
18, | |
160, | |
12, | |
11, | |
74, | |
170, | |
194, | |
222, | |
76, | |
195, | |
51, | |
17, | |
247, | |
30, | |
53, | |
250 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
7 | |
], | |
type: "INT32", | |
data: [ | |
17, | |
146, | |
101, | |
61, | |
113, | |
169, | |
82, | |
185, | |
196, | |
227, | |
10, | |
125, | |
212, | |
44, | |
224, | |
78, | |
35, | |
169, | |
186, | |
88, | |
23, | |
237, | |
235, | |
148, | |
52, | |
232, | |
100, | |
20 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
11, | |
7 | |
], | |
type: "INT32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |