5 writes to GpuDeviceId
Microsoft.ML.OnnxTransformer (5)
OnnxTransform.cs (5)
224
options.
GpuDeviceId
= localEnvironment.GpuDeviceId;
319
GpuDeviceId
= gpuDeviceId,
345
GpuDeviceId
= gpuDeviceId,
375
GpuDeviceId
= gpuDeviceId,
407
GpuDeviceId
= gpuDeviceId,
3 references to GpuDeviceId
Microsoft.ML.OnnxTransformer (3)
OnnxTransform.cs (3)
265
Model = new OnnxModel(env, options.ModelFile, options.
GpuDeviceId
, options.FallbackToCpu, ownModelFile: false, shapeDictionary: shapeDictionary, options.RecursionLimit,
273
Model = OnnxModel.CreateFromStream(options.ModelBytes, env, options.
GpuDeviceId
, options.FallbackToCpu, shapeDictionary: shapeDictionary, options.RecursionLimit);
280
Model = OnnxModel.CreateFromBytes(modelBytes, env, options.
GpuDeviceId
, options.FallbackToCpu, shapeDictionary: shapeDictionary, options.RecursionLimit);