Whether enable CPU memory arena.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Whether enable graph capture. This setting is available only in ONNXRuntime Web for WebGPU EP.
Whether enable memory pattern.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Whether enable profiling.
This setting is a placeholder for a future use.
Execution mode.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
An 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.
Specifying a list of files that represents the external data.
Inherited from OnnxModelOptions.externalData
Store 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
The free dimension override.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
The optimization level.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
The inter OP threads number.
This setting is available only in ONNXRuntime (Node.js binding and react-native).
The intra OP threads number.
This setting is available only in ONNXRuntime (Node.js binding and react-native).
Log ID.
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Log 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
Log verbosity level.
This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later
Optimized model file path.
If this setting is specified, the optimized model will be dumped. In browser, a blob will be created with a pop-up window.
Specify string as a preferred data location for all outputs, or an object that use output names as keys and a preferred data location as corresponding values.
This setting is available only in ONNXRuntime Web for WebGL and WebGPU EP.
File prefix for profiling.
This setting is a placeholder for a future use.
Generated using TypeDoc
A set of configurations for session behavior.