ort 2.0.0-rc.15

A safe Rust wrapper for ONNX Runtime 1.31 - Optimize and accelerate machine learning inference & training
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::{ExecutionProviderOptions, SimpleExecutionProvider};

#[derive(Debug, Default, Clone)]
pub struct WASM(ExecutionProviderOptions);

super::impl_ep!(arbitrary; WASM);

impl SimpleExecutionProvider for WASM {
	const CANONICAL_NAME: &'static str = "WASMExecutionProvider";
	const SHORT_NAME: &'static str = "WASM";

	fn options(&self) -> &ExecutionProviderOptions {
		&self.0
	}
}