Preparing search index...
The search index is not available
ONNX Runtime JavaScript API
ONNX Runtime JavaScript API
InferenceSession
WebNNExecutionProviderOption
Interface WebNNExecutionProviderOption
interface
WebNNExecutionProviderOption
{
deviceType
?:
"cpu"
|
"gpu"
|
"npu"
;
name
:
"webnn"
;
numThreads
?:
number
;
powerPreference
?:
"default"
|
"high-performance"
|
"low-power"
;
}
Hierarchy (
view full
)
ExecutionProviderOption
WebNNExecutionProviderOption
Index
Properties
device
Type?
name
num
Threads?
power
Preference?
Properties
Optional
device
Type
device
Type
?:
"cpu"
|
"gpu"
|
"npu"
Readonly
name
name
:
"webnn"
Optional
num
Threads
num
Threads
?:
number
Optional
power
Preference
power
Preference
?:
"default"
|
"high-performance"
|
"low-power"
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
device
Type
name
num
Threads
power
Preference
ONNX Runtime JavaScript API
Env
InferenceSession
Tensor
TrainingSession
ConversionUtils
CpuPinnedConstructorParameters
Env
ExternalDataFileDescription
GpuBufferConstructorParameters
InferenceSession
InferenceSessionFactory
OnnxModelOptions
OptionResizedDimensions
OptionsDimensions
OptionsFormat
OptionsNormalizationParameters
OptionsTensorDataType
OptionsTensorFormat
OptionsTensorLayout
Tensor
TensorConstructor
Loading...
Generated using
TypeDoc