Method FromFile
FromFile(FileInfo)
Creates an instance of MLModelData from a given file synchronously.
Declaration
public static MLModelData FromFile(FileInfo file)
Parameters
Type | Name | Description |
---|---|---|
FileInfo | file | The FileInfo object representing the model file. |
Returns
Type | Description |
---|---|
MLModelData | An instance of MLModelData. |