ONNX Runtime JavaScript API
Preparing search index...
InferenceSession
WebNNOptionsWithoutMLContext
Interface WebNNOptionsWithoutMLContext
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 Summary
)
WebNNExecutionProviderName
WebNNContextOptions
WebNNOptionsWithoutMLContext
Index
Properties
context?
device
Type?
name
num
Threads?
power
Preference?
Properties
Optional
context
context
?:
undefined
Optional
device
Type
deviceType
?:
"cpu"
|
"gpu"
|
"npu"
Readonly
name
name
:
"webnn"
Optional
num
Threads
numThreads
?:
number
Optional
power
Preference
powerPreference
?:
"default"
|
"high-performance"
|
"low-power"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
context
device
Type
name
num
Threads
power
Preference
ONNX Runtime JavaScript API
Loading...
Represents a set of options for WebNN execution provider without MLContext.