tensorflow/lite/g3doc/api_docs/swift/Classes/MetalDelegate/Options.html
public struct Options : Equatable, Hashable
Options for configuring the MetalDelegate.
`
isPrecisionLossAllowed
`
Indicates whether the GPU delegate allows precision loss, such as allowing Float16 precision for a Float32 computation. The default is false.
Swift
public var isPrecisionLossAllowed: Bool
`
allowsPrecisionLoss
`
Undocumented
Swift
public var allowsPrecisionLoss: Bool { get set }
`
waitType
`
A type indicating how the current thread should wait for work on the GPU to complete. The default is passive.
Swift
public var waitType: ThreadWaitType
`
isQuantizationEnabled
`
Indicates whether the GPU delegate allows execution of an 8-bit quantized model. The default is true.
Swift
public var isQuantizationEnabled: Bool
`
init()
`
Creates a new instance with the default values.
Swift
public init()