pub enum RescoreMetric {
InnerProduct,
SquaredL2,
}Expand description
Full-precision ranking applied to the retained coarse pool.
Variants§
InnerProduct
Runtime-dispatched task-03 f32 inner product.
SquaredL2
Negative squared-L2 over the stored f32 row; larger remains better.
Trait Implementations§
Source§impl Clone for RescoreMetric
impl Clone for RescoreMetric
impl Copy for RescoreMetric
Source§impl Debug for RescoreMetric
impl Debug for RescoreMetric
impl Eq for RescoreMetric
Source§impl PartialEq for RescoreMetric
impl PartialEq for RescoreMetric
impl StructuralPartialEq for RescoreMetric
Auto Trait Implementations§
impl Freeze for RescoreMetric
impl RefUnwindSafe for RescoreMetric
impl Send for RescoreMetric
impl Sync for RescoreMetric
impl Unpin for RescoreMetric
impl UnsafeUnpin for RescoreMetric
impl UnwindSafe for RescoreMetric
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