pub enum ModelRuntimeBackend {
Cpu,
Onnx,
Candle,
CudaOxide,
WhisperCpp,
Demucs,
OpenCv,
ComfyUi,
External,
Heuristic,
Imported,
Custom(String),
}Expand description
Variants describing model runtime backend.
Variants§
Cpu
The CPU variant.
Onnx
The ONNX variant.
Candle
The candle variant.
CudaOxide
The cuda oxide variant.
WhisperCpp
The whisper.cpp variant.
Demucs
The Demucs variant.
OpenCv
The OpenCV variant.
ComfyUi
The ComfyUI variant.
External
The external variant.
Heuristic
The heuristic variant.
Imported
Imported caller predictions.
Custom(String)
The custom variant.
Implementations§
Trait Implementations§
Source§impl Clone for ModelRuntimeBackend
impl Clone for ModelRuntimeBackend
Source§fn clone(&self) -> ModelRuntimeBackend
fn clone(&self) -> ModelRuntimeBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelRuntimeBackend
impl Debug for ModelRuntimeBackend
Source§impl<'de> Deserialize<'de> for ModelRuntimeBackend
impl<'de> Deserialize<'de> for ModelRuntimeBackend
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ModelRuntimeBackend
Source§impl PartialEq for ModelRuntimeBackend
impl PartialEq for ModelRuntimeBackend
Source§fn eq(&self, other: &ModelRuntimeBackend) -> bool
fn eq(&self, other: &ModelRuntimeBackend) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelRuntimeBackend
impl Serialize for ModelRuntimeBackend
impl StructuralPartialEq for ModelRuntimeBackend
Auto Trait Implementations§
impl Freeze for ModelRuntimeBackend
impl RefUnwindSafe for ModelRuntimeBackend
impl Send for ModelRuntimeBackend
impl Sync for ModelRuntimeBackend
impl Unpin for ModelRuntimeBackend
impl UnsafeUnpin for ModelRuntimeBackend
impl UnwindSafe for ModelRuntimeBackend
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