GpuDelegateOptions constructor
GpuDelegateOptions({
- bool allowPrecisionLoss = false,
- TFLGpuDelegateWaitType waitType = TFLGpuDelegateWaitType.passive,
- bool enableQuantization = true,
Implementation
factory GpuDelegateOptions({
bool allowPrecisionLoss = false,
TFLGpuDelegateWaitType waitType = TFLGpuDelegateWaitType.passive,
bool enableQuantization = true,
}) {
return GpuDelegateOptions._(TFLGpuDelegateOptions.allocate(
allowPrecisionLoss,
waitType,
enableQuantization,
));
}