Edit

Share via


MLPredictionOptions.UsesCpuOnly Property

Definition

Gets or sets a Boolean value that indicates whether to restrict prediction computations to the CPU.

public virtual bool UsesCpuOnly { [Foundation.Export("usesCPUOnly")] get; [Foundation.Export("setUsesCPUOnly:")] set; }
member this.UsesCpuOnly : bool with get, set

Property Value

Attributes

Applies to