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