Save the date! Google I/O returns May 18-20 Register now

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