正在准备搜索索引...
搜索索引不可用
ONNX Runtime JavaScript API
ONNX Runtime JavaScript API
InferenceSession
WebNNOptionsWithoutMLContext
接口 WebNNOptionsWithoutMLContext
表示不带 MLContext 的 WebNN 执行提供程序的一组选项。
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?
属性
可选
context
context
?:
undefined
可选
device
Type
device
Type
?:
"cpu"
|
"gpu"
|
"npu"
只读
name
name
:
"webnn"
可选
num
Threads
num
Threads
?:
number
可选
power
Preference
power
Preference
?:
"default"
|
"high-performance"
|
"low-power"
设置
成员可见性
受保护
私有
继承的
外部
主题
操作系统
亮色
暗色
本页内容
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
生成
表示不带 MLContext 的 WebNN 执行提供程序的一组选项。