5 writes to FallbackToCpu
Microsoft.ML.OnnxTransformer (5)
OnnxTransform.cs (5)
225
options.
FallbackToCpu
= localEnvironment.FallbackToCpu;
320
FallbackToCpu
= fallbackToCpu,
346
FallbackToCpu
= fallbackToCpu,
376
FallbackToCpu
= fallbackToCpu,
408
FallbackToCpu
= fallbackToCpu,
3 references to FallbackToCpu
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);