pub enum GpuIcpTrimPrecision {
CompensatedF32,
DoubleSingle,
}Expand description
Arithmetic used for retained ICP moments; transform/search remain f32.
Variants§
CompensatedF32
Canonical f32 normalized coordinates/products with compensated sums. Lower arithmetic cost, but coordinate/product rounding can bias moments.
DoubleSingle
Two f32 words through offsets, normalization, mean division and products. Carries quotient/product residuals to reduce moment bias; hardware f32 transforms/search and their gate/tie precision remain unchanged.
Trait Implementations§
Source§impl Clone for GpuIcpTrimPrecision
impl Clone for GpuIcpTrimPrecision
Source§fn clone(&self) -> GpuIcpTrimPrecision
fn clone(&self) -> GpuIcpTrimPrecision
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 GpuIcpTrimPrecision
Source§impl Debug for GpuIcpTrimPrecision
impl Debug for GpuIcpTrimPrecision
Source§impl Default for GpuIcpTrimPrecision
impl Default for GpuIcpTrimPrecision
Source§fn default() -> GpuIcpTrimPrecision
fn default() -> GpuIcpTrimPrecision
Returns the “default value” for a type. Read more
impl Eq for GpuIcpTrimPrecision
Source§impl PartialEq for GpuIcpTrimPrecision
impl PartialEq for GpuIcpTrimPrecision
impl StructuralPartialEq for GpuIcpTrimPrecision
Auto Trait Implementations§
impl Freeze for GpuIcpTrimPrecision
impl RefUnwindSafe for GpuIcpTrimPrecision
impl Send for GpuIcpTrimPrecision
impl Sync for GpuIcpTrimPrecision
impl Unpin for GpuIcpTrimPrecision
impl UnsafeUnpin for GpuIcpTrimPrecision
impl UnwindSafe for GpuIcpTrimPrecision
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more