pub enum PrecisionMode {
Normal = 0,
High = 1,
Low = 2,
LowBf16 = 3,
}
Expand description
PrecisionModes depend on if the specific backend has support for it
Variants§
Normal = 0
Normal precision mode
High = 1
High precision mode
Low = 2
Low precision mode
LowBf16 = 3
Low precision mode with BF16
Implementations§
Trait Implementations§
source§impl Clone for PrecisionMode
impl Clone for PrecisionMode
source§fn clone(&self) -> PrecisionMode
fn clone(&self) -> PrecisionMode
Returns a copy 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 PrecisionMode
impl Debug for PrecisionMode
source§impl FromStr for PrecisionMode
impl FromStr for PrecisionMode
source§impl Hash for PrecisionMode
impl Hash for PrecisionMode
source§impl PartialEq for PrecisionMode
impl PartialEq for PrecisionMode
impl Copy for PrecisionMode
impl Eq for PrecisionMode
impl StructuralPartialEq for PrecisionMode
Auto Trait Implementations§
impl Freeze for PrecisionMode
impl RefUnwindSafe for PrecisionMode
impl Send for PrecisionMode
impl Sync for PrecisionMode
impl Unpin for PrecisionMode
impl UnwindSafe for PrecisionMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)