Skip to main content

Crate ort_web

Crate ort_web 

Source
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§

Dist
Error
Integrities

Enums§

SyncDirection

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§

Loadable
ValueExt

Functions§

api
Loads an ort-compatible ONNX Runtime API from config.
sync_outputs
Synchronize all outputs in outputs so that their data is available to Rust code.

Type Aliases§

Result