#[repr(u32)]pub enum QuantizationModes {
TRN = 0,
TRN_ZERO = 1,
RND = 2,
RND_ZERO = 3,
RND_INF = 4,
RND_MIN_INF = 5,
RND_CONV = 6,
RND_CONV_ODD = 7,
}
Expand description
SPIR-V operand kind: QuantizationModes
Variants§
TRN = 0
TRN_ZERO = 1
RND = 2
RND_ZERO = 3
RND_INF = 4
RND_MIN_INF = 5
RND_CONV = 6
RND_CONV_ODD = 7
Implementations§
Trait Implementations§
Source§impl Clone for QuantizationModes
impl Clone for QuantizationModes
Source§fn clone(&self) -> QuantizationModes
fn clone(&self) -> QuantizationModes
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 QuantizationModes
impl Debug for QuantizationModes
Source§impl FromStr for QuantizationModes
impl FromStr for QuantizationModes
Source§impl Hash for QuantizationModes
impl Hash for QuantizationModes
Source§impl Ord for QuantizationModes
impl Ord for QuantizationModes
Source§fn cmp(&self, other: &QuantizationModes) -> Ordering
fn cmp(&self, other: &QuantizationModes) -> Ordering
1.21.0 · 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 QuantizationModes
impl PartialEq for QuantizationModes
Source§impl PartialOrd for QuantizationModes
impl PartialOrd for QuantizationModes
impl Copy for QuantizationModes
impl Eq for QuantizationModes
impl StructuralPartialEq for QuantizationModes
Auto Trait Implementations§
impl Freeze for QuantizationModes
impl RefUnwindSafe for QuantizationModes
impl Send for QuantizationModes
impl Sync for QuantizationModes
impl Unpin for QuantizationModes
impl UnwindSafe for QuantizationModes
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
)