Struct tensorflow::ops::NonMaxSuppression
source · pub struct NonMaxSuppression { /* private fields */ }
Expand description
Builder for the NonMaxSuppression
operation.
Implementations§
source§impl NonMaxSuppression
impl NonMaxSuppression
sourcepub fn iou_threshold<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn iou_threshold<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the iou_threshold
attribute.
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>>(
&self,
boxes: O0,
scores: O1,
max_output_size: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, boxes: O0, scores: O1, max_output_size: O2, scope: &mut Scope ) -> Result<Operation>
Builds the NonMaxSuppression
operation.
sourcepub fn build_instance(
&self,
boxes: Output,
scores: Output,
max_output_size: Output,
scope: &mut Scope
) -> Result<NonMaxSuppressionInst>
pub fn build_instance( &self, boxes: Output, scores: Output, max_output_size: Output, scope: &mut Scope ) -> Result<NonMaxSuppressionInst>
Builds a new instance of ‘NonMaxSuppression’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for NonMaxSuppression
impl Debug for NonMaxSuppression
source§impl Default for NonMaxSuppression
impl Default for NonMaxSuppression
source§fn default() -> NonMaxSuppression
fn default() -> NonMaxSuppression
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NonMaxSuppression
impl Send for NonMaxSuppression
impl Sync for NonMaxSuppression
impl Unpin for NonMaxSuppression
impl UnwindSafe for NonMaxSuppression
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