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.AddArrayParameter
Adds an array parameter.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CoreML | 7.4 | Yes | No | No | Yes, macOS only | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| CoreMLRef | The reference number to the model. | $Model |
| Name | The name of the parameter. | "test" |
| Values | The list with values. For floating values, please use dot as decimal separator. |
"1¶3¶5" |
| Type | The type of array to pass. Can be Double, Float or Int32. |
"Int32" |
Result
Returns OK or error.
Description
Adds an array parameter.Please pass list of values for the whole array as we pick the size by the numbers of values.
Please use CoreML.Add2DArrayParameter for 2D arrays.
Examples
Add two array parameters:
Set Variable [ $r; Value: MBS( "CoreML.AddArrayParameter"; $CoreMLRef; "wordIDs"; "1.2¶1.5¶1.8"; "double" ) ]
Set Variable [ $r; Value: MBS( "CoreML.AddArrayParameter"; $CoreMLRef; "wordTypes"; "2.1¶3.4¶5.7"; "double" ) ]
See also
- CoreML.Add2DArrayParameter
- CoreML.AddDoubleParameter
- CoreML.AddImageParameter
- CoreML.AddIntegerParameter
- CoreML.AddTextParameter
Blog Entries
Created 16th September 2017, last changed 23th April 2020
CoreML.Add2DArrayParameter - CoreML.AddDoubleParameter
Feedback: Report problem or ask question.
Links
MBS FileMaker blog