目录

GetDim

Function Description

Obtains the size of dimension idx of Shape.

Function Prototype

int64_t GetDim(size_t idx) const;

Parameters

Parameter Input/Output Description
idx Input Dimension index. The index starts from 0.

Return Value

Type Description
int64_t Returns the length of the dimension whose index is idx.

Exception Handling

None

Restrictions

None