{ | |
version: { | |
_major: 0, | |
_minor: 60, | |
_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: "FULLY_CONNECTED", | |
attribute_type: "FullyConnectedAttribute", | |
attribute: { | |
input_zp: 0, | |
weight_zp: 0 | |
}, | |
inputs: [ | |
"input-0", | |
"const-1", | |
"const-2" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
2, | |
4, | |
5, | |
5 | |
], | |
type: "FP16" | |
}, | |
{ | |
name: "const-1", | |
shape: [ | |
1, | |
4 | |
], | |
type: "FP16", | |
data: [ | |
13, | |
46, | |
145, | |
53, | |
158, | |
59, | |
236, | |
56 | |
] | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
1 | |
], | |
type: "FP32", | |
data: [ | |
52, | |
72, | |
195, | |
62 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
2, | |
1 | |
], | |
type: "FP32" | |
} | |
], | |
inputs: [ | |
"input-0" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |