Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CoreML.SetUsesCPUOnly
Sets whether to use CPU only.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CoreML | 7.4 | Yes | No | No | Yes, macOS only | Yes |
MBS( "CoreML.SetUsesCPUOnly"; CoreMLRef; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| CoreMLRef | The reference number to the model. | $Model |
| Value | The new setting. 1 = CPU only 0 = CPU and GPU (Default) |
1 |
Result
Returns OK or error.
Description
Sets whether to use CPU only.Set to 1 to disable GPU and only do processing on CPU.
Pass 0 (default) to use both.
See also
Created 16th September 2017, last changed 16th September 2017
CoreML.ResultImage - CoreML.Update
Feedback: Report problem or ask question.
Links
MBS Xojo blog