pub struct ThresholdOpts {
pub objectness_threshold: f32,
pub iou_threshold: f32,
}Expand description
Shared thresholds used by inference-related tools.
Fields§
§objectness_threshold: f32§iou_threshold: f32Implementations§
Trait Implementations§
Source§impl Clone for ThresholdOpts
impl Clone for ThresholdOpts
Source§fn clone(&self) -> ThresholdOpts
fn clone(&self) -> ThresholdOpts
Returns a duplicate of the value. Read more
1.0.0 · 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 ThresholdOpts
impl Debug for ThresholdOpts
impl Copy for ThresholdOpts
Auto Trait Implementations§
impl Freeze for ThresholdOpts
impl RefUnwindSafe for ThresholdOpts
impl Send for ThresholdOpts
impl Sync for ThresholdOpts
impl Unpin for ThresholdOpts
impl UnwindSafe for ThresholdOpts
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