Struct tensorflow::ops::NonMaxSuppressionWithOverlaps
source · 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.
sourcepub fn build_instance(
&self,
overlaps: Output,
scores: Output,
max_output_size: Output,
overlap_threshold: Output,
score_threshold: Output,
scope: &mut Scope
) -> Result<NonMaxSuppressionWithOverlapsInst>
pub fn build_instance( &self, overlaps: Output, scores: Output, max_output_size: Output, overlap_threshold: Output, score_threshold: Output, scope: &mut Scope ) -> Result<NonMaxSuppressionWithOverlapsInst>
Builds a new instance of ‘NonMaxSuppressionWithOverlaps’ Operation with it’s Outputs and Inputs exposed as methods.
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 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