| { | |
| "modelTopology": { | |
| "node": [ | |
| { | |
| "name": "X", | |
| "op": "Placeholder", | |
| "input": [], | |
| "attr": { | |
| "dtype": { | |
| "type": "DT_INT32" | |
| }, | |
| "shape": { | |
| "shape": { | |
| "dim": [ | |
| { | |
| "size": 1 | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "name": "Indices", | |
| "op": "Const", | |
| "input": [], | |
| "attr": { | |
| "dtype": { | |
| "type": "DT_INT32" | |
| }, | |
| "value": { | |
| "tensor": { | |
| "dtype": "DT_INT32", | |
| "tensorShape": { | |
| "dim": [ | |
| { | |
| "size": 160 | |
| }, | |
| { | |
| "size": 1 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "index": { | |
| "i": 0 | |
| }, | |
| "length": { | |
| "i": 640 | |
| } | |
| } | |
| }, | |
| { | |
| "name": "Updates", | |
| "op": "Const", | |
| "input": [], | |
| "attr": { | |
| "dtype": { | |
| "type": "DT_INT32" | |
| }, | |
| "value": { | |
| "tensor": { | |
| "dtype": "DT_INT32", | |
| "tensorShape": { | |
| "dim": [ | |
| { | |
| "size": 160 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "index": { | |
| "i": 640 | |
| }, | |
| "length": { | |
| "i": 640 | |
| } | |
| } | |
| }, | |
| { | |
| "name": "OutputShape", | |
| "op": "Const", | |
| "input": [], | |
| "attr": { | |
| "dtype": { | |
| "type": "DT_INT32" | |
| }, | |
| "value": { | |
| "tensor": { | |
| "dtype": "DT_INT32", | |
| "tensorShape": { | |
| "dim": [ | |
| { | |
| "size": 1 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "index": { | |
| "i": 1280 | |
| }, | |
| "length": { | |
| "i": 4 | |
| } | |
| } | |
| }, | |
| { | |
| "name": "ScatterNd", | |
| "op": "ScatterNd", | |
| "input": [ | |
| "Indices", | |
| "Updates", | |
| "OutputShape" | |
| ], | |
| "attr": {} | |
| } | |
| ], | |
| "versions": { | |
| "producer": 1, | |
| "minConsumer": 3 | |
| } | |
| }, | |
| "weightsManifest": [ | |
| { | |
| "paths": [ | |
| "weights.bin" | |
| ], | |
| "weights": [ | |
| { | |
| "name": "Indices", | |
| "dtype": "int32", | |
| "shape": [ | |
| 160, | |
| 1 | |
| ] | |
| }, | |
| { | |
| "name": "Updates", | |
| "dtype": "int32", | |
| "shape": [ | |
| 160 | |
| ] | |
| }, | |
| { | |
| "name": "OutputShape", | |
| "dtype": "int32", | |
| "shape": [ | |
| 1 | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |