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