set Use Cpu Only
Enable CPU mode for ONNX. When true, forces CPU execution. When false, attempts to use GPU if available (CUDA/MPS).
Parameters
value
The value to set for the UseCpuOnly property.
Enable CPU mode for ONNX. When true, forces CPU execution. When false, attempts to use GPU if available (CUDA/MPS).
The value to set for the UseCpuOnly property.