Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

This function checks for a license.

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


WindowsML.BindFloat16 - WindowsML.BindInt16