shape
The length of each dimension of the array.
Declaration
var shape: [Int] { get }Discussion
The shape contains rank elements. A value of -1 in any dimension indicates a dynamic size.
The length of each dimension of the array.
var shape: [Int] { get }The shape contains rank elements. A value of -1 in any dimension indicates a dynamic size.