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 
     
    
Design a Mobile Site
View Site in Mobile | Classic
Share by: