ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

TensorFlowLiteSwift Framework Reference

EnabledDevices

public enum EnabledDevices : Equatable, Hashable

A type indicating which devices the Core ML delegate should be enabled for.

  • Enables the delegate for devices with Neural Engine only.

    Declaration

    Swift

    case neuralEngine
  • all

    Enables the delegate for all devices.

    Declaration

    Swift

    case all