Struct tensorflow::ops::NonMaxSuppressionV5
source · [−]pub struct NonMaxSuppressionV5 { /* private fields */ }Expand description
Builder for the NonMaxSuppressionV5 operation.
Implementations
sourceimpl NonMaxSuppressionV5
impl NonMaxSuppressionV5
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>, O5: Into<Output>>(
&self,
boxes: O0,
scores: O1,
max_output_size: O2,
iou_threshold: O3,
score_threshold: O4,
soft_nms_sigma: 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: O2,
iou_threshold: O3,
score_threshold: O4,
soft_nms_sigma: O5,
scope: &mut Scope
) -> Result<Operation>
Builds the NonMaxSuppressionV5 operation.
sourcepub fn build_instance(
&self,
boxes: Output,
scores: Output,
max_output_size: Output,
iou_threshold: Output,
score_threshold: Output,
soft_nms_sigma: Output,
scope: &mut Scope
) -> Result<NonMaxSuppressionV5Inst>
pub fn build_instance(
&self,
boxes: Output,
scores: Output,
max_output_size: Output,
iou_threshold: Output,
score_threshold: Output,
soft_nms_sigma: Output,
scope: &mut Scope
) -> Result<NonMaxSuppressionV5Inst>
Builds a new instance of ‘NonMaxSuppressionV5’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for NonMaxSuppressionV5
impl Debug for NonMaxSuppressionV5
sourceimpl Default for NonMaxSuppressionV5
impl Default for NonMaxSuppressionV5
sourcefn default() -> NonMaxSuppressionV5
fn default() -> NonMaxSuppressionV5
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for NonMaxSuppressionV5
impl Send for NonMaxSuppressionV5
impl Sync for NonMaxSuppressionV5
impl Unpin for NonMaxSuppressionV5
impl UnwindSafe for NonMaxSuppressionV5
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more