usesCPUOnly
A Boolean value that indicates whether a prediction is computed using only the CPU.
Declaration
var usesCPUOnly: Bool { get set }Discussion
Your model should be restricted to the CPU if it might run in the background or if your app has other GPU intensive tasks.