pub struct NmsDescriptor {
pub num_boxes: i32,
pub iou_threshold: f32,
pub element: ElementKind,
}Expand description
Descriptor for nms.
Fields§
§num_boxes: i32Number of input boxes.
iou_threshold: f32IoU suppression threshold. Pairs with IoU strictly greater than this are suppressed.
element: ElementKindBox-coordinate element type.
Trait Implementations§
Source§impl Clone for NmsDescriptor
impl Clone for NmsDescriptor
Source§fn clone(&self) -> NmsDescriptor
fn clone(&self) -> NmsDescriptor
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 NmsDescriptor
Auto Trait Implementations§
impl Freeze for NmsDescriptor
impl RefUnwindSafe for NmsDescriptor
impl Send for NmsDescriptor
impl Sync for NmsDescriptor
impl Unpin for NmsDescriptor
impl UnsafeUnpin for NmsDescriptor
impl UnwindSafe for NmsDescriptor
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