Optional enableWhether enable CPU memory arena.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Optional enableWhether enable memory pattern.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Optional enableWether enable profiling.
This setting is a placeholder for a future use.
Optional executionExecution mode.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Optional executionAn array of execution provider options.
An execution provider option can be a string indicating the name of the execution provider, or an object of corresponding type.
Optional extraStore configurations for a session. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/session/ onnxruntime_session_options_config_keys.h
This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later
extra: {
session: {
set_denormal_as_zero: "1",
disable_prepacking: "1"
},
optimization: {
enable_gelu_approximation: "1"
}
}
Optional graphThe optimization level.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Optional interThe inter OP threads number.
This setting is available only in ONNXRuntime (Node.js binding and react-native).
Optional intraThe intra OP threads number.
This setting is available only in ONNXRuntime (Node.js binding and react-native).
Optional logLog ID.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Optional logLog severity level. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/common/logging/severity.h
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Optional logLog verbosity level.
This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later
Optional profileFile prefix for profiling.
This setting is a placeholder for a future use.
Generated using TypeDoc
A set of configurations for session behavior.