正在準備搜尋索引...
搜尋索引不可用
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 執行提供程式的一組選項。