One Logo Pool Ball
CoreML · IOS API REFERENCE

MLComputePlan.DeviceUsage

struct · iOS 17.4+ · SDK 27.1

struct DeviceUsage

The anticipated compute devices that would be used for executing a layer/operation.

Members (2)

get · iOS 17.4+

preferred

TypeScript
get preferred(): MLComputeDevice
Swift declaration
let preferred: MLComputeDevice

The compute device that the framework prefers to execute the layer/operation.

get · iOS 17.4+

supported

TypeScript
get supported(): Array<MLComputeDevice>
Swift declaration
let supported: [MLComputeDevice]

The compute devices that can execute the layer/operation.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreML types →