Skip to content

[wasi-nn] requirement of load_by_name implementation #3103

Open
@lum1n0us

Description

@lum1n0us

There is a recently added function, load-by-name, in wasi-nn.

    /// Load a `graph` by name.
    ///
    /// How the host expects the names to be passed and how it stores the graphs for retrieval via
    /// this function is **implementation-specific**. This allows hosts to choose name schemes that
    /// range from simple to complex (e.g., URLs?) and caching mechanisms of various kinds.
    load-by-name: func(name: string) -> result<graph, error>;

Plus, the import name of wasi-nn now is wasi_ephemeral_nn

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions