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