Represents a set of options for WebNN execution provider without MLContext.

interface WebNNOptionsWithoutMLContext {
    context?: undefined;
    deviceType?: "cpu" | "gpu" | "npu";
    name: "webnn";
    numThreads?: number;
    powerPreference?: "default" | "high-performance" | "low-power";
}

Hierarchy (view full)

Properties

context?: undefined
deviceType?: "cpu" | "gpu" | "npu"
name: "webnn"
numThreads?: number
powerPreference?: "default" | "high-performance" | "low-power"

Generated using TypeDoc