pub struct FusionScore {
pub score: f32,
pub embedding: f32,
pub label: f32,
}Expand description
Weighted fusion of embedding similarity and label confidence.
Fields§
§score: f32Final fused score.
embedding: f32Embedding similarity contribution.
label: f32Best label confidence contribution.
Trait Implementations§
Source§impl Clone for FusionScore
impl Clone for FusionScore
Source§fn clone(&self) -> FusionScore
fn clone(&self) -> FusionScore
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 FusionScore
impl Debug for FusionScore
Source§impl PartialEq for FusionScore
impl PartialEq for FusionScore
Source§fn eq(&self, other: &FusionScore) -> bool
fn eq(&self, other: &FusionScore) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FusionScore
impl StructuralPartialEq for FusionScore
Auto Trait Implementations§
impl Freeze for FusionScore
impl RefUnwindSafe for FusionScore
impl Send for FusionScore
impl Sync for FusionScore
impl Unpin for FusionScore
impl UnsafeUnpin for FusionScore
impl UnwindSafe for FusionScore
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