tensorflow/lite/g3doc/api_docs/swift/Classes/MetalDelegate.html
public final class MetalDelegate : Delegate
A 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.
`
options
`
The configuration options for the MetalDelegate.
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.
Swift
public init(options: Options = Options())
| options |
Configurations for the delegate. The default is a new instance of MetalDelegate.Options with the default configuration values.
|
`
Options
`
Options for configuring the MetalDelegate.
Swift
public struct Options : Equatable, Hashable