语言

MLContext.GpuDeviceId 属性

定义

获取或设置要在其上运行执行的 GPU 设备 ID, null 以在 CPU 上运行。

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

属性值

适用于