pub enum SoftNmsMethod {
Linear,
Gaussian,
}Expand description
Soft-NMS decay method.
Variants§
Linear
Linear score decay: score * (1 - overlap) when overlap > threshold.
Gaussian
Gaussian decay: score * exp(-(overlap^2) / sigma).
Trait Implementations§
Source§impl Clone for SoftNmsMethod
impl Clone for SoftNmsMethod
Source§fn clone(&self) -> SoftNmsMethod
fn clone(&self) -> SoftNmsMethod
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 SoftNmsMethod
Source§impl Debug for SoftNmsMethod
impl Debug for SoftNmsMethod
impl Eq for SoftNmsMethod
Source§impl PartialEq for SoftNmsMethod
impl PartialEq for SoftNmsMethod
impl StructuralPartialEq for SoftNmsMethod
Auto Trait Implementations§
impl Freeze for SoftNmsMethod
impl RefUnwindSafe for SoftNmsMethod
impl Send for SoftNmsMethod
impl Sync for SoftNmsMethod
impl Unpin for SoftNmsMethod
impl UnsafeUnpin for SoftNmsMethod
impl UnwindSafe for SoftNmsMethod
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