pub struct MeanRecomputeReport {
pub dim: u32,
pub old_doc_count: u64,
pub doc_count_requantized: u64,
pub drift_cos_before: f32,
pub mean_was_pinned: bool,
pub elapsed_ms: u64,
}Expand description
0.7.2 PR-2b — result of [Engine::recompute_mean] (the manual
doctor recompute-mean path) and of the shared in-transaction
recompute core. drift_cos_before is the cosine between the freshly
derived corpus mean and the previously-pinned mean (1.0 when nothing
was pinned yet, i.e. a first pin). mean_was_pinned distinguishes a
refresh of an existing mean from an initial pin. See
dev/design/embedder.md §0.3.
Fields§
§dim: u32§old_doc_count: u64§doc_count_requantized: u64§drift_cos_before: f32§mean_was_pinned: bool§elapsed_ms: u64Trait Implementations§
Source§impl Clone for MeanRecomputeReport
impl Clone for MeanRecomputeReport
Source§fn clone(&self) -> MeanRecomputeReport
fn clone(&self) -> MeanRecomputeReport
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 moreSource§impl Debug for MeanRecomputeReport
impl Debug for MeanRecomputeReport
Source§impl PartialEq for MeanRecomputeReport
impl PartialEq for MeanRecomputeReport
impl StructuralPartialEq for MeanRecomputeReport
Auto Trait Implementations§
impl Freeze for MeanRecomputeReport
impl RefUnwindSafe for MeanRecomputeReport
impl Send for MeanRecomputeReport
impl Sync for MeanRecomputeReport
impl Unpin for MeanRecomputeReport
impl UnsafeUnpin for MeanRecomputeReport
impl UnwindSafe for MeanRecomputeReport
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