{ | |
version: { | |
_major: 0, | |
_minor: 50, | |
_patch: 0, | |
_draft: false | |
}, | |
blocks: [ | |
{ | |
name: "main", | |
operators: [ | |
{ | |
op: "CONST", | |
attribute_type: "NONE", | |
inputs: [ | |
], | |
outputs: [ | |
"const-2" | |
] | |
}, | |
{ | |
op: "SCATTER", | |
attribute_type: "NONE", | |
inputs: [ | |
"input-0", | |
"const-2", | |
"input-1" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
], | |
tensors: [ | |
{ | |
name: "input-0", | |
shape: [ | |
1, | |
65541, | |
1 | |
], | |
type: "FP32" | |
}, | |
{ | |
name: "input-1", | |
shape: [ | |
1, | |
12, | |
1 | |
], | |
type: "FP32" | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
1, | |
12 | |
], | |
type: "INT32", | |
data: [ | |
209, | |
219, | |
0, | |
0, | |
36, | |
109, | |
0, | |
0, | |
38, | |
252, | |
0, | |
0, | |
47, | |
212, | |
0, | |
0, | |
164, | |
93, | |
0, | |
0, | |
36, | |
73, | |
0, | |
0, | |
236, | |
50, | |
0, | |
0, | |
234, | |
175, | |
0, | |
0, | |
209, | |
231, | |
0, | |
0, | |
27, | |
226, | |
0, | |
0, | |
159, | |
209, | |
0, | |
0, | |
12, | |
217, | |
0, | |
0 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
65541, | |
1 | |
], | |
type: "FP32" | |
} | |
], | |
inputs: [ | |
"input-0", | |
"input-1" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} |