tensorflow/lite/g3doc/api_docs/swift/Classes/CoreMLDelegate.html
public final class CoreMLDelegate : Delegate
A delegate that uses the Core ML framework for performing TensorFlow Lite graph operations.
Important
This is an experimental interface that is subject to change.
`
options
`
The configuration options for the CoreMLDelegate.
Swift
public let options: Options
`
cDelegate
`
Undocumented
Swift
public private(set) var cDelegate: CDelegate { get }
`
init(options:)
`
Creates a new instance configured with the given options. Returns nil if the underlying Core ML delegate could not be created because Options.enabledDevices was set to neuralEngine but the device does not have the Neural Engine.
Swift
public init?(options: Options = Options())
| options |
Configurations for the delegate. The default is a new instance of CoreMLDelegate.Options with the default configuration values.
|
`
EnabledDevices
`
A type indicating which devices the Core ML delegate should be enabled for.
Swift
public enum EnabledDevices : Equatable, Hashable
`
Options
`
Undocumented
Swift
public struct Options : Equatable, Hashable