Struct tensorflow::eager::raw_ops::GenerateBoundingBoxProposals
source · pub struct GenerateBoundingBoxProposals { /* private fields */ }
Expand description
GenerateBoundingBoxProposals
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/GenerateBoundingBoxProposals
Implementations§
source§impl GenerateBoundingBoxProposals
impl GenerateBoundingBoxProposals
sourcepub fn post_nms_topn<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn post_nms_topn<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the post_nms_topn
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>, T6: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
scores: &T0,
bbox_deltas: &T1,
image_info: &T2,
anchors: &T3,
nms_threshold: &T4,
pre_nms_topn: &T5,
min_size: &T6
) -> Result<[TensorHandle<'a>; 2]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>>( &self, ctx: &'a Context, scores: &T0, bbox_deltas: &T1, image_info: &T2, anchors: &T3, nms_threshold: &T4, pre_nms_topn: &T5, min_size: &T6 ) -> Result<[TensorHandle<'a>; 2]>
Execute generate_bounding_box_proposals.
Trait Implementations§
source§impl Clone for GenerateBoundingBoxProposals
impl Clone for GenerateBoundingBoxProposals
source§fn clone(&self) -> GenerateBoundingBoxProposals
fn clone(&self) -> GenerateBoundingBoxProposals
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 GenerateBoundingBoxProposals
impl Debug for GenerateBoundingBoxProposals
Auto Trait Implementations§
impl RefUnwindSafe for GenerateBoundingBoxProposals
impl Send for GenerateBoundingBoxProposals
impl Sync for GenerateBoundingBoxProposals
impl Unpin for GenerateBoundingBoxProposals
impl UnwindSafe for GenerateBoundingBoxProposals
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