Updated on 2022-03-13 GMT+08:00
GetDim
Function Prototype
int64_t GetDim(size_t idx) const;
Function Description
Obtains the length of dimension idx of Shape.
Parameter Description
|
Parameter |
Input/Output |
Type |
Description |
|---|---|---|---|
|
idx |
Input |
size_t |
Dimension index, which starts from 0 |
Return Value
|
Parameter |
Type |
Description |
|---|---|---|
|
- |
int64_t |
Length of dimension idx |
Exception Handling
None
Restriction
None
Parent topic: Shape APIs
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot