目录

GetDimNum

Function Description

Obtains the dimension count of a shape.

Function Prototype

size_t GetDimNum() const

Parameters

None

Return Value

Type Description
size_t Returns the number of dimensions of a tensor shape.

Exception Handling

None

Restrictions

None