ONNX Runtime JavaScript API
    Preparing search index...

    Interface WasmFilePaths

    interface WasmFilePaths {
        mjs?: string | URL;
        wasm?: string | URL;
    }
    Index

    Properties

    Properties

    mjs?: string | URL

    Specify the override path for the main .mjs file.

    This path should be an absolute path.

    If not modified, the filename of the .mjs file is:

    • ort-wasm-simd-threaded.mjs for default build
    • ort-wasm-simd-threaded.jsep.mjs for JSEP build (with WebGPU and WebNN)
    • ort-wasm-simd-threaded.asyncify.mjs for WebGPU build with Asyncify (with WebNN)
    • ort-wasm-simd-threaded.jspi.mjs for WebGPU build with JSPI support (with WebNN)
    wasm?: string | URL

    Specify the override path for the main .wasm file.

    This path should be an absolute path.

    If not modified, the filename of the .wasm file is:

    • ort-wasm-simd-threaded.wasm for default build
    • ort-wasm-simd-threaded.jsep.wasm for JSEP build (with WebGPU and WebNN)
    • ort-wasm-simd-threaded.asyncify.wasm for WebGPU build with Asyncify (with WebNN)
    • ort-wasm-simd-threaded.jspi.wasm for WebGPU build with JSPI support (with WebNN)