Hi community,

It maybe a quite basic problem, but really confuse me. What does the `rank`

mean, like `getRank()`

, `hasRank()`

, and `unranked`

?

Thank you!

Hi community,

It maybe a quite basic problem, but really confuse me. What does the `rank`

mean, like `getRank()`

, `hasRank()`

, and `unranked`

?

Thank you!

Assuming you are asking about MLIR, rank in multidimensional types is the number of dimensions. E.g., `tensor<?x?xf32>`

will have rank 2. Unranked means the number of dimensions is unknown at compile time and is denoted as `tensor<*xf32>`

.

wow, I got that! Thank you!