diff options
Diffstat (limited to 'operators/scatter_gather/scatter/scatter_1x65540x1_i8/test.json')
-rw-r--r-- | operators/scatter_gather/scatter/scatter_1x65540x1_i8/test.json | 219 |
1 files changed, 112 insertions, 107 deletions
diff --git a/operators/scatter_gather/scatter/scatter_1x65540x1_i8/test.json b/operators/scatter_gather/scatter/scatter_1x65540x1_i8/test.json index 407f8f873..2806d9c05 100644 --- a/operators/scatter_gather/scatter/scatter_1x65540x1_i8/test.json +++ b/operators/scatter_gather/scatter/scatter_1x65540x1_i8/test.json @@ -5,126 +5,131 @@ _patch: 0, _draft: true }, - blocks: [ + regions: [ { name: "main", - operators: [ + blocks: [ { - op: "CONST", - attribute_type: "NONE", - inputs: [ + 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" + } ], - 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" ] } ] |