正在准备搜索索引...
搜索索引不可用
ONNX Runtime JavaScript API
ONNX Runtime JavaScript API
InferenceSession
WebNNOptionsWithoutMLContext
接口 WebNNOptionsWithoutMLContext
表示 WebNN 执行提供程序(不使用 MLContext)的一组选项。
interface
WebNNOptionsWithoutMLContext
{
context
?:
undefined
;
deviceType
?:
"cpu"
|
"gpu"
|
"npu"
;
name
:
"webnn"
;
numThreads
?:
number
;
powerPreference
?:
"default"
|
"high-performance"
|
"low-power"
;
}
层级结构 (
查看完整
)
WebNNExecutionProviderName
WebNNContextOptions
WebNNOptionsWithoutMLContext
索引
属性
context?
device
Type?
name
num
Threads?
power
Preference?
属性
Optional
context
context
?:
undefined
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"
设置
成员可见性
Protected
Private
Inherited
External
主题
OS
亮色
暗色
本页内容
context
device
Type
name
num
Threads
power
Preference
ONNX Runtime JavaScript API
Env
InferenceSession
Tensor
ConversionUtils
CpuPinnedConstructorParameters
Env
ExternalDataFileDescription
GpuBufferConstructorParameters
InferenceSession
InferenceSessionFactory
MLTensorConstructorParameters
OnnxModelOptions
OptionResizedDimensions
OptionsDimensions
OptionsFormat
OptionsNormalizationParameters
OptionsTensorDataType
OptionsTensorFormat
OptionsTensorLayout
Tensor
TensorConstructor
加载中...
使用
TypeDoc
生成
表示 WebNN 执行提供程序(不使用 MLContext)的一组选项。