Expand description
ort-web is an ort backend that enables the usage of ONNX Runtime in the web.
For more information, see https://ort.pyke.io/backends/web
Structs§
Enums§
Constants§
- FEATURE_
NONE - Do not enable any execution provider features (CPU-only).
- FEATURE_
WEBGL - Enable the WebGL execution provider for hardware acceleration.
- FEATURE_
WEBGPU - Enable the WebGPU execution provider for hardware acceleration.
- FEATURE_
WEBNN - Enable the WebNN execution provider for hardware acceleration.
Traits§
Functions§
- api
- Loads an
ort-compatible ONNX Runtime API fromconfig. - sync_
outputs - Synchronize all outputs in
outputsso that their data is available to Rust code.