SetDim
Function Prototype
graphStatus SetDim(size_t idx, int64_t value);
Function Description
Sets the value of dimension idx in Shape.
Parameter Description
Parameter |
Input/Output |
Type |
Description |
---|---|---|---|
idx |
Input |
size_t |
Dimension index of Shape, which starts from 0 |
value |
Input |
int64_t |
Value to be set |
Return Value
Parameter |
Type |
Description |
---|---|---|
- |
graphStatus |
If the operation is successful, 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