Enum rust_faces::Provider
source · pub enum Provider {
OrtCpu,
OrtCuda(i32),
OrtVino(i32),
OrtCoreMl,
}Expand description
Runtime inference provider. May not be available depending of your Onnx runtime installation.
Variants§
OrtCpu
Uses the, default, CPU inference
OrtCuda(i32)
Uses the Cuda inference.
OrtVino(i32)
Uses Intel’s OpenVINO inference.
OrtCoreMl
Apple’s Core ML inference.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Provider
impl Send for Provider
impl Sync for Provider
impl Unpin for Provider
impl UnwindSafe for Provider
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