APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.
graphStatus UpdateInputDesc(const std::string &name, const TensorDesc &tensor_desc); graphStatus UpdateInputDesc(const char_t *name, const TensorDesc &tensor_desc);
| Parameter | Input/Output | Description |
|---|---|---|
| name | Input | **Input **name of the operator. |
| tensor_desc | Input | TensorDesc object. |
| Type | Description |
|---|---|
| graphStatus | If **TensorDesc **is updated successfully, **GRAPH_SUCCESS **is returned. Otherwise, **GRAPH_FAILED **is returned. |