Contents

rank

Obtains the rank of the tensor.

Declaration

var rank: Int { get }

Discussion

The rank represents the number of dimensions.