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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

WindowsML.BindImageFile

Binds values to an input feature.

Component Version macOS Windows Linux Server iOS SDK
WindowsML 10.5 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WindowsML.BindImageFile"; WinMLRef; Name; Path )   More

Parameters

Parameter Description Example
WinMLRef The reference number to the model. $Model
Name The name of the input feature.
Path The image file path. "C:\test\test.png"

Result

Returns OK or error.

Description

Binds values to an input feature.

Examples

Bind an image:

Set Variable [ $r ; Value: MBS( "WindowsML.BindImageFile"; $$WinMLRef; "data_0"; WindowsML::Image File Path) ]
If [ MBS("ISError") ]
    Show Custom Dialog [ "Failed to set image" ; $r ]
    Exit Script [ Text Result: $r ]
End If

See also

Example Databases

Blog Entries

Created 26th September 2020, last changed 27th September 2020


WindowsML.BindFloat16 - WindowsML.BindInt16

Feedback: Report problem or ask question.