pub struct NonMaxSuppressionWithOverlaps { /* private fields */ }
Expand description
Builder for the NonMaxSuppressionWithOverlaps
operation.
Implementations§
Source§impl NonMaxSuppressionWithOverlaps
impl NonMaxSuppressionWithOverlaps
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>(
&self,
overlaps: O0,
scores: O1,
max_output_size: O2,
overlap_threshold: O3,
score_threshold: O4,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, overlaps: O0, scores: O1, max_output_size: O2, overlap_threshold: O3, score_threshold: O4, scope: &mut Scope, ) -> Result<Operation>
Builds the NonMaxSuppressionWithOverlaps
operation.
Trait Implementations§
Source§impl Default for NonMaxSuppressionWithOverlaps
impl Default for NonMaxSuppressionWithOverlaps
Source§fn default() -> NonMaxSuppressionWithOverlaps
fn default() -> NonMaxSuppressionWithOverlaps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NonMaxSuppressionWithOverlaps
impl RefUnwindSafe for NonMaxSuppressionWithOverlaps
impl Send for NonMaxSuppressionWithOverlaps
impl Sync for NonMaxSuppressionWithOverlaps
impl Unpin for NonMaxSuppressionWithOverlaps
impl UnwindSafe for NonMaxSuppressionWithOverlaps
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