#[repr(u32)]pub enum cuvsBinaryQuantizerThreshold {
ZERO = 0,
MEAN = 1,
SAMPLING_MEDIAN = 2,
}Expand description
@defgroup preprocessing_c_binary C API for Binary Quantizer @{ / /** @brief In the cuvsBinaryQuantizerTransform function, a bit is set if the corresponding element in the dataset vector is greater than the corresponding element in the threshold vector. The mean and sampling_median thresholds are calculated separately for each dimension.
Variants§
Trait Implementations§
Source§impl Clone for cuvsBinaryQuantizerThreshold
impl Clone for cuvsBinaryQuantizerThreshold
Source§fn clone(&self) -> cuvsBinaryQuantizerThreshold
fn clone(&self) -> cuvsBinaryQuantizerThreshold
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 cuvsBinaryQuantizerThreshold
Source§impl Debug for cuvsBinaryQuantizerThreshold
impl Debug for cuvsBinaryQuantizerThreshold
impl Eq for cuvsBinaryQuantizerThreshold
Source§impl Hash for cuvsBinaryQuantizerThreshold
impl Hash for cuvsBinaryQuantizerThreshold
Source§impl PartialEq for cuvsBinaryQuantizerThreshold
impl PartialEq for cuvsBinaryQuantizerThreshold
Source§fn eq(&self, other: &cuvsBinaryQuantizerThreshold) -> bool
fn eq(&self, other: &cuvsBinaryQuantizerThreshold) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for cuvsBinaryQuantizerThreshold
Auto Trait Implementations§
impl Freeze for cuvsBinaryQuantizerThreshold
impl RefUnwindSafe for cuvsBinaryQuantizerThreshold
impl Send for cuvsBinaryQuantizerThreshold
impl Sync for cuvsBinaryQuantizerThreshold
impl Unpin for cuvsBinaryQuantizerThreshold
impl UnsafeUnpin for cuvsBinaryQuantizerThreshold
impl UnwindSafe for cuvsBinaryQuantizerThreshold
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