GetShapeDimNum

Description

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

Prototype

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

Restrictions

None