GpuDelegateOptions constructor

GpuDelegateOptions(
  1. bool allowPrecisionLoss,
  2. TFLGpuDelegateWaitType waitType
)

Implementation

factory GpuDelegateOptions(
    bool allowPrecisionLoss, TFLGpuDelegateWaitType waitType) {
  return GpuDelegateOptions._(
      TFLGpuDelegateOptions.allocate(allowPrecisionLoss, waitType));
}