#[repr(u16)]pub enum EmbeddingRuntime {
CoreMl = 1,
Mlx = 2,
CpuReference = 3,
}Expand description
Inference runtime whose numerical behaviour produced the embedding.
Variants§
CoreMl = 1
Apple’s Core ML runtime.
Mlx = 2
Apple’s MLX runtime.
CpuReference = 3
A host CPU reference implementation.
Trait Implementations§
Source§impl Clone for EmbeddingRuntime
impl Clone for EmbeddingRuntime
Source§fn clone(&self) -> EmbeddingRuntime
fn clone(&self) -> EmbeddingRuntime
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 moreimpl Copy for EmbeddingRuntime
Source§impl Debug for EmbeddingRuntime
impl Debug for EmbeddingRuntime
impl Eq for EmbeddingRuntime
Source§impl PartialEq for EmbeddingRuntime
impl PartialEq for EmbeddingRuntime
impl StructuralPartialEq for EmbeddingRuntime
Auto Trait Implementations§
impl Freeze for EmbeddingRuntime
impl RefUnwindSafe for EmbeddingRuntime
impl Send for EmbeddingRuntime
impl Sync for EmbeddingRuntime
impl Unpin for EmbeddingRuntime
impl UnsafeUnpin for EmbeddingRuntime
impl UnwindSafe for EmbeddingRuntime
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