MLShapedArraySlice
A multidimensional subset of elements from a shaped array type.
Declaration
struct MLShapedArraySlice<Scalar> where Scalar : MLShapedArrayScalarTopics
Creating a shaped array slice
Creating a shaped array slice from another type
Creating a shaped array slice with pointers to memory
Creating a shaped array slice with data
Shaping the array slice
changingLayout(to:)expandingShape(at:)reshaped(to:)squeezingShape()transposed()transposed(permutation:)