We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Function Description

Obtains the dimension count of a shape.

Function Prototype

Collapse
Word wrap
Dark theme
Copy code
  1. size_t GetDimNum() const

Parameters

None

Return Value

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

Exception Handling

None

Restrictions

None