Class MLPredictionOptions

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class MLPredictionOptions
extends NSObject
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • MLPredictionOptions

      public MLPredictionOptions()
    • MLPredictionOptions

      protected MLPredictionOptions​(NSObject.Handle h, long handle)
    • MLPredictionOptions

      protected MLPredictionOptions​(NSObject.SkipInit skipInit)
  • Method Details

    • usesCPUOnly

      @Deprecated public boolean usesCPUOnly()
      Deprecated.
      Deprecated in iOS 15.0. Use -[MLModelConfiguration computeUnits] instead.
      Since:
      Available in iOS 11.0 and later.
    • setUsesCPUOnly

      @Deprecated public void setUsesCPUOnly​(boolean v)
      Deprecated.
      Deprecated in iOS 15.0. Use -[MLModelConfiguration computeUnits] instead.
      Since:
      Available in iOS 11.0 and later.