pub struct DriftResult {
pub l2_magnitude: f32,
pub cosine_drift: f32,
pub top_dimensions: Vec<(usize, f32)>,
}Expand description
Drift quantification result.
Fields§
§l2_magnitude: f32L2 drift magnitude.
cosine_drift: f32Cosine drift.
top_dimensions: Vec<(usize, f32)>Top changed dimensions: (index, absolute_change).
Trait Implementations§
Source§impl Clone for DriftResult
impl Clone for DriftResult
Source§fn clone(&self) -> DriftResult
fn clone(&self) -> DriftResult
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 moreAuto Trait Implementations§
impl Freeze for DriftResult
impl RefUnwindSafe for DriftResult
impl Send for DriftResult
impl Sync for DriftResult
impl Unpin for DriftResult
impl UnwindSafe for DriftResult
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