{ | |
version: { | |
_major: 0, | |
_minor: 60, | |
_patch: 0, | |
_draft: false | |
}, | |
regions: [ | |
{ | |
name: "main", | |
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, | |
65540, | |
1 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "input-1", | |
shape: [ | |
1, | |
12, | |
1 | |
], | |
type: "INT8" | |
}, | |
{ | |
name: "const-2", | |
shape: [ | |
1, | |
12 | |
], | |
type: "INT32", | |
data: [ | |
227, | |
225, | |
0, | |
0, | |
148, | |
209, | |
0, | |
0, | |
150, | |
238, | |
0, | |
0, | |
46, | |
4, | |
0, | |
0, | |
120, | |
161, | |
0, | |
0, | |
217, | |
1, | |
0, | |
0, | |
213, | |
9, | |
0, | |
0, | |
251, | |
15, | |
0, | |
0, | |
168, | |
198, | |
0, | |
0, | |
43, | |
186, | |
0, | |
0, | |
88, | |
228, | |
0, | |
0, | |
130, | |
162, | |
0, | |
0 | |
] | |
}, | |
{ | |
name: "result-0", | |
shape: [ | |
1, | |
65540, | |
1 | |
], | |
type: "INT8" | |
} | |
], | |
inputs: [ | |
"input-0", | |
"input-1" | |
], | |
outputs: [ | |
"result-0" | |
] | |
} | |
] | |
} | |
] | |
} |