ExecutionProvider
Execution provider used to run Vision ONNX model inference.
using Nutrient;Values
| Name | Value | Description |
|---|---|---|
ExecutionProvider.Auto | 0 | Let the SDK decide per capacity: capacities validated end-to-end on the GPU (the table, layout, orientation, handwriting word-extraction, and form capacities) default to GPU; every other GPU-eligible model defaults to CPU. Force the choice explicitly with Gpu or Cpu. |
ExecutionProvider.Cpu | 1 | Force CPU inference for all Vision models, regardless of GPU availability. |
ExecutionProvider.Gpu | 2 | Force GPU inference for GPU-eligible Vision models. The native runtime still falls back to CPU per-session if the GPU provider can’t load a given model. |