pub enum Runtime {
Auto,
Path(PathBuf),
System,
}Expand description
Selects the TensorFlow Lite C runtime used for inference.
Variants§
Auto
Check explicit environment overrides, then use the bundled runtime.
Path(PathBuf)
Load a specific shared library.
System
Search standard system locations supported by tflite-c-rs.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
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