Contents

MLShapedArrayProtocol

An interface that defines a shaped array type.

Declaration

protocol MLShapedArrayProtocol<Scalar> : ExpressibleByArrayLiteral, MutableCollection, RandomAccessCollection where Self.Index == Int

Topics

Creating a shaped array type

Creating a shaped array type from another type

Inspecting a shaped array type

Accessing elements

Modifying a shaped array type

Supporting types

See Also

Supporting types