Struct tensorflow::eager::raw_ops::CombinedNonMaxSuppression
source · pub struct CombinedNonMaxSuppression { /* private fields */ }
Expand description
CombinedNonMaxSuppression
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/CombinedNonMaxSuppression
Implementations§
source§impl CombinedNonMaxSuppression
impl CombinedNonMaxSuppression
sourcepub fn pad_per_class<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn pad_per_class<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the pad_per_class
attribute.
sourcepub fn clip_boxes<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn clip_boxes<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the clip_boxes
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>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
boxes: &T0,
scores: &T1,
max_output_size_per_class: &T2,
max_total_size: &T3,
iou_threshold: &T4,
score_threshold: &T5
) -> Result<[TensorHandle<'a>; 4]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>>( &self, ctx: &'a Context, boxes: &T0, scores: &T1, max_output_size_per_class: &T2, max_total_size: &T3, iou_threshold: &T4, score_threshold: &T5 ) -> Result<[TensorHandle<'a>; 4]>
Execute combined_non_max_suppression.
Trait Implementations§
source§impl Clone for CombinedNonMaxSuppression
impl Clone for CombinedNonMaxSuppression
source§fn clone(&self) -> CombinedNonMaxSuppression
fn clone(&self) -> CombinedNonMaxSuppression
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 CombinedNonMaxSuppression
impl Debug for CombinedNonMaxSuppression
Auto Trait Implementations§
impl RefUnwindSafe for CombinedNonMaxSuppression
impl Send for CombinedNonMaxSuppression
impl Sync for CombinedNonMaxSuppression
impl Unpin for CombinedNonMaxSuppression
impl UnwindSafe for CombinedNonMaxSuppression
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