GetShapeDim
Description
Obtains dimension idx of a shape.
Prototype
int64_t GetShapeDim(const size_t idx) const
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
idx |
Input |
Dimension index, which starts from 0. |
Returns
Value of dimension idx of a shape, 0 by default.
Exception Handling
None
Restrictions
None
Parent topic: Tensor