Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

CoreML.SetUsesCPUOnly

Sets whether to use CPU only.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CoreML 7.4 Yes No Yes, macOS only No Yes

MBS( "CoreML.SetUsesCPUOnly"; CoreMLRef; Value )

Parameters

Parameter Description Example value
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


CoreML.ResultImage   -   DNSLookup.Address

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins