{ | |
version: { | |
_major: 0, | |
_minor: 50, | |
_patch: 0, | |
_draft: false | |
}, | |
blocks: [ | |
{ | |
name: "main", | |
operators: [ | |
{ | |
op: "CONST", | |
attribute_type: "NONE", | |
inputs: [ | |
], | |
outputs: [ | |
"const-2" | |
] | |
}, | |
{ | |
op: "CONST", | |
attribute_type: "NONE", | |
inputs: [ | |
], | |
outputs: [ | |
"const-3" | |
] | |
}, | |
{ | |
op: "CONST", | |
attribute_type: "NONE", | |
inputs: [ | |
], | |
outputs: [ | |
"const-4" | |
] | |
}, | |
{ | |
op: "CONCAT", | |
attribute_type: "AxisAttribute", | |
attribute: { | |
axis: 0 | |
}, | |
inputs: [ | |
"input-0", | |
"input-1", | |
"const-2", | |
"const-3", | |
"const-4" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
20 | |
], | |
type: "FP16" | |
}, | |
{ | |
name: "input-1", | |
shape: [ | |
10 | |
], | |
type: "FP16" | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
5 | |
], | |
type: "FP16", | |
data: [ | |
81, | |
61, | |
224, | |
60, | |
52, | |
183, | |
198, | |
186, | |
215, | |
57 | |
] | |
}, | |
{ | |
name: "const-3", | |
shape: [ | |
2 | |
], | |
type: "FP16", | |
data: [ | |
196, | |
189, | |
205, | |
188 | |
] | |
}, | |
{ | |
name: "const-4", | |
shape: [ | |
3 | |
], | |
type: "FP16", | |
data: [ | |
226, | |
191, | |
151, | |
60, | |
70, | |
57 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
40 | |
], | |
type: "FP16" | |
} | |
], | |
inputs: [ | |
"input-0", | |
"input-1" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |