CoreMLDelegate
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.-
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
. Returnsnil
if the underlying Core ML delegate could not be created becauseOptions.enabledDevices
was set toneuralEngine
but the device does not have the Neural Engine.Parameters
options
Configurations for the delegate. The default is a new instance of
CoreMLDelegate.Options
with 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