pub struct OnnxConfig {
pub provider: String,
pub debug: bool,
pub num_threads: i32,
}
Fields§
§provider: String
§debug: bool
§num_threads: i32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OnnxConfig
impl RefUnwindSafe for OnnxConfig
impl Send for OnnxConfig
impl Sync for OnnxConfig
impl Unpin for OnnxConfig
impl UnwindSafe for OnnxConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more