Contents

shape

The length of each dimension of the array.

Declaration

var shape: [Int]

Discussion

The shape contains rank elements. A value of -1 in any dimension indicates a dynamic size.

See Also

Inspecting descriptor properties