pub enum ModelPrecision {
FP16,
FP32,
INT8,
}Expand description
Model precision levels
Variants§
Trait Implementations§
Source§impl Clone for ModelPrecision
impl Clone for ModelPrecision
Source§fn clone(&self) -> ModelPrecision
fn clone(&self) -> ModelPrecision
Returns a duplicate of the value. Read more
1.0.0 · 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 ModelPrecision
impl Debug for ModelPrecision
impl Copy for ModelPrecision
Auto Trait Implementations§
impl Freeze for ModelPrecision
impl RefUnwindSafe for ModelPrecision
impl Send for ModelPrecision
impl Sync for ModelPrecision
impl Unpin for ModelPrecision
impl UnwindSafe for ModelPrecision
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