Contents

rank

The rank of the tensor.

Declaration

var rank: Int { get }

Discussion

Equivalent to shape.count.

See Also

Inspecting the view