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