共用方式為


MLContext.FallbackToCpu Property

Definition

Gets or sets a value that indicates whether the CPU will be used if the task couldn't run on GPU.

public bool FallbackToCpu { get; set; }
member this.FallbackToCpu : bool with get, set
Public Property FallbackToCpu As Boolean

Property Value

Applies to