CoreMLDelegate
public final class CoreMLDelegate : DelegateA delegate that uses the Core ML framework for performing TensorFlow Lite graph operations.
Important
This is an experimental interface that is subject to change.-
The configuration options for the
CoreMLDelegate.Declaration
Swift
public let options: Options -
Undocumented
Declaration
Swift
public private(set) var cDelegate: CDelegate { get } -
Creates a new instance configured with the given
options. Returnsnilif the underlying Core ML delegate could not be created becauseOptions.enabledDeviceswas set toneuralEnginebut the device does not have the Neural Engine.Parameters
optionsConfigurations for the delegate. The default is a new instance of
CoreMLDelegate.Optionswith the default configuration values. -
A type indicating which devices the Core ML delegate should be enabled for.
Declaration
Swift
public enum EnabledDevices : Equatable, Hashable -
Undocumented
Declaration
Swift
public struct Options : Equatable, Hashable