GetDim

Description

Obtains the size of dimension idx of Shape.

Prototype

int64_t GetDim(size_t idx) const

Parameters

Parameter

Input/Output

Description

idx

Input

Dimension index, which starts from 0.

Returns

Length of dimension idx

Exception Handling

None.

Restrictions

None.