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:
10.5
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
Statistic
FMM
Blog
CoreML.Add2DArrayParameter
Adds a 2D array parameter.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
CoreML | 10.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes | Paid |
Parameters
Parameter | Description | Example |
---|---|---|
CoreMLRef | The reference number to the model. | $Model |
Name | The name of the parameter. | "test" |
Size1 | Size of first dimension. | 123 |
Size2 | Size of second dimension. | 234 |
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 a 2D array parameter.Please pass list of values for the whole array, e.g. Size1 * Size2 values.
If you pass to many values, we ignore that and if you pass too few, we simply don't set the reminding values.
Examples
Add one 2D array parameters:
Set Variable [ $r; Value: MBS( "CoreML.AddArrayParameter"; $CoreMLRef; "values"; 2; 2; "1.2¶1.5¶1.8¶2.9"; "double" ) ]
Set parameters for BERT-SQuAD mlmodel:
MBS("CoreML.Add2DArrayParameter"; $$ML; "wordIDs" ; 1; 384; CoreML::wordsIDs; "double")
MBS("CoreML.Add2DArrayParameter"; $$ML; "wordTypes" ; 1; 384; CoreML::wordTypes; "double")
See also
- CoreML.AddArrayParameter
- CoreML.AddDoubleParameter
- CoreML.AddImageParameter
- CoreML.AddIntegerParameter
Release notes
- Version 10.2
- Added CoreML.Add2DArrayParameter function.
Blog Entries
- Checkout Machine Learning features in FileMaker
- Neues MBS FileMaker Plugin 10.2
- MBS FileMaker Plugin 10.2 - More than 6200 Functions In One Plugin
- MBS FileMaker Plugin, version 10.2pr5
Created 23th April 2020, last changed 25th April 2020
CoreLocation.verticalAccuracy - CoreML.AddArrayParameter
Feedback: Report problem or ask question.
