UpdateDynamicInputDesc
Function Prototype
graphStatus UpdateDynamicInputDesc(const string& name, const unsigned int index, const TensorDesc& tensorDesc);
Function Description
Updates the dynamic input TensorDesc of an operator based on the combination of its input name and index.
Parameter Description
Parameter |
Input/Output |
Type |
Description |
---|---|---|---|
name |
Input |
const string& |
Dynamic input name of the operator |
index |
Input |
const unsigned int |
Dynamic input index of the operator, which starts from 1 |
tensorDesc |
Input |
const TensorDesc& |
TensorDesc object |
Return Value
Parameter |
Type |
Description |
---|---|---|
- |
graphStatus |
If the dynamic input TensorDesc is updated successfully, GRAPH_SUCCESS is returned. Otherwise, GRAPH_FAILED is returned. |
Exception Handling
None
Restriction
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot