MetalDelegate
public final class MetalDelegate : DelegateA delegate that uses the Metal framework for performing TensorFlow Lite graph operations with
GPU acceleration.
Important
This is an experimental interface that is subject to change.-
The configuration options for the
MetalDelegate.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.Parameters
optionsConfigurations for the delegate. The default is a new instance of
MetalDelegate.Optionswith the default configuration values. -
Options for configuring the
MetalDelegate.Declaration
Swift
public struct Options : Equatable, Hashable