Struct tensorflow::eager::raw_ops::NonMaxSuppression
source · pub struct NonMaxSuppression { /* private fields */ }
Expand description
NonMaxSuppression
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/NonMaxSuppression
Implementations§
source§impl NonMaxSuppression
impl NonMaxSuppression
sourcepub fn iou_threshold<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn iou_threshold<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the iou_threshold
attribute.
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
boxes: &T0,
scores: &T1,
max_output_size: &T2
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, boxes: &T0, scores: &T1, max_output_size: &T2 ) -> Result<TensorHandle<'a>>
Execute non_max_suppression.
Trait Implementations§
source§impl Clone for NonMaxSuppression
impl Clone for NonMaxSuppression
source§fn clone(&self) -> NonMaxSuppression
fn clone(&self) -> NonMaxSuppression
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NonMaxSuppression
impl Debug for NonMaxSuppression
Auto Trait Implementations§
impl RefUnwindSafe for NonMaxSuppression
impl Send for NonMaxSuppression
impl Sync for NonMaxSuppression
impl Unpin for NonMaxSuppression
impl UnwindSafe for NonMaxSuppression
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