| use ort::session::Session; | |
| use ort::session::builder::GraphOptimizationLevel; | |
| fn main() { | |
| let _ = ort::init().with_name("test").commit(); | |
| let builder = Session::builder().unwrap() | |
| .with_optimization_level(GraphOptimizationLevel::Level3).unwrap() | |
| .with_intra_threads(4).unwrap(); | |
| println!("Builder created successfully!"); | |
| } | |