Optional
extraSet a single run configuration entry. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/session/ onnxruntime_run_options_config_keys.h
This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later
extra: {
memory: {
enable_memory_arena_shrinkage: "1",
}
}
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
tagA tag for the Run() calls using this
This setting is available only in ONNXRuntime (Node.js binding and react-native) or WebAssembly backend
Optional
terminateTerminate all incomplete OrtRun calls as soon as possible if true
This setting is available only in WebAssembly backend. Will support Node.js binding and react-native later
Generated using TypeDoc
A set of configurations for inference run behavior