pub enum QuantizeDType {
F32,
F64,
}Expand description
LC quantization dtype
Variants§
Trait Implementations§
Source§impl Clone for QuantizeDType
impl Clone for QuantizeDType
Source§fn clone(&self) -> QuantizeDType
fn clone(&self) -> QuantizeDType
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 QuantizeDType
Source§impl Debug for QuantizeDType
impl Debug for QuantizeDType
impl Eq for QuantizeDType
Source§impl Hash for QuantizeDType
impl Hash for QuantizeDType
Source§impl Ord for QuantizeDType
impl Ord for QuantizeDType
Source§fn cmp(&self, other: &QuantizeDType) -> Ordering
fn cmp(&self, other: &QuantizeDType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for QuantizeDType
impl PartialEq for QuantizeDType
Source§fn eq(&self, other: &QuantizeDType) -> bool
fn eq(&self, other: &QuantizeDType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for QuantizeDType
impl PartialOrd for QuantizeDType
impl StructuralPartialEq for QuantizeDType
Auto Trait Implementations§
impl Freeze for QuantizeDType
impl RefUnwindSafe for QuantizeDType
impl Send for QuantizeDType
impl Sync for QuantizeDType
impl Unpin for QuantizeDType
impl UnsafeUnpin for QuantizeDType
impl UnwindSafe for QuantizeDType
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