pub enum Precision {
F32,
F16,
BF16,
Int8,
}Expand description
Target precision for NPU compilation.
Variants§
F32
32-bit floating point (no conversion).
F16
16-bit floating point.
BF16
Brain floating point (16-bit).
Int8
8-bit integer (quantized).
Trait Implementations§
impl Copy for Precision
impl Eq for Precision
impl StructuralPartialEq for Precision
Auto Trait Implementations§
impl Freeze for Precision
impl RefUnwindSafe for Precision
impl Send for Precision
impl Sync for Precision
impl Unpin for Precision
impl UnsafeUnpin for Precision
impl UnwindSafe for Precision
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