Share via


MLContext.GpuDeviceId 屬性

定義

要執行執行的 GPU 裝置識別碼, null 以在 CPU 上執行。

public int? GpuDeviceId { get; set; }
member this.GpuDeviceId : Nullable<int> with get, set
Public Property GpuDeviceId As Nullable(Of Integer)

屬性值

適用於