GetShapeDimNum

Function Usage

Obtains the dimension size of a shape, that is, the rank size.

Prototype

1
size_t GetShapeDimNum() const

Parameters

None

Returns

Dimension size of a shape, that is, the rank of the shape. If the rank is unknown, 0 is returned.

Exception Handling

None

Constraints

None