UpdateDynamicOutputDesc
Description
Updates the dynamic output TensorDesc of an operator based on the combination of its output name and index.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
graphStatus UpdateDynamicOutputDesc(const std::string &name, uint32_t index, const TensorDesc &tensor_desc)
graphStatus UpdateDynamicOutputDesc(const char_t *name, uint32_t index, const TensorDesc &tensor_desc)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Input |
Dynamic output name of the operator. |
index |
Input |
Dynamic output index of the operator. |
tensor_desc |
Input |
TensorDesc object. |
Returns
graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.
Exception Handling
None
Restrictions
None
Parent topic: Operator