MLShapedArrayProtocol
An interface that defines a shaped array type.
Declaration
protocol MLShapedArrayProtocol<Scalar> : ExpressibleByArrayLiteral, MutableCollection, RandomAccessCollection where Self.Index == IntTopics
Creating a shaped array type
init(scalars:shape:)init(repeating:shape:)init(identityMatrixOfSize:)init(randomScalarsIn:shape:)init(bytesNoCopy:shape:deallocator:)init(bytesNoCopy:shape:strides:deallocator:)init(unsafeUninitializedShape:initializingWith:)