EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Method FromFileAsync

    FromFileAsync(FileInfo, CancellationToken)

    Asynchronously creates an instance of MLModelData from a given file.

    Declaration
    public static Task<MLModelData> FromFileAsync(FileInfo file, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    FileInfo file

    The FileInfo object representing the model file.

    CancellationToken cancellationToken

    Optional. A CancellationToken to observe while waiting for the task to complete.

    Returns
    Type Description
    Task<MLModelData>

    A task that represents the asynchronous operation and returns MLModelData.

    © Xab3r. All rights reserved.