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.
The length of each dimension of the array.
var shape: [Int]The shape contains rank elements. A value of -1 in any dimension indicates a dynamic size.