共用方式為


OnnxOptions.GpuDeviceId 欄位

定義

在 (上執行的 GPU 裝置識別碼,例如 0,1,..) 。 CPU 的 Null。 需要 CUDA 10.1。

public int? GpuDeviceId;
val mutable GpuDeviceId : Nullable<int>
Public GpuDeviceId As Nullable(Of Integer) 

欄位值

適用於