ExecutionProvider

public enum ExecutionProvider

Execution provider used to run Vision ONNX model inference.

Entries

Link copied to clipboard

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 or .

Link copied to clipboard

Force CPU inference for all Vision models, regardless of GPU availability.

Link copied to clipboard

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.

Functions

Link copied to clipboard
public static ExecutionProvider valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<ExecutionProvider> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.