Struct tensorflow::eager::raw_ops::SampleDistortedBoundingBoxV2
source · pub struct SampleDistortedBoundingBoxV2 { /* private fields */ }
Expand description
SampleDistortedBoundingBoxV2
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SampleDistortedBoundingBoxV2
Implementations§
source§impl SampleDistortedBoundingBoxV2
impl SampleDistortedBoundingBoxV2
sourcepub fn aspect_ratio_range<ArgType: Into<Vec<f32>>>(self, value: ArgType) -> Self
pub fn aspect_ratio_range<ArgType: Into<Vec<f32>>>(self, value: ArgType) -> Self
Sets the aspect_ratio_range
attribute.
sourcepub fn area_range<ArgType: Into<Vec<f32>>>(self, value: ArgType) -> Self
pub fn area_range<ArgType: Into<Vec<f32>>>(self, value: ArgType) -> Self
Sets the area_range
attribute.
sourcepub fn max_attempts<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn max_attempts<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the max_attempts
attribute.
sourcepub fn use_image_if_no_bounding_boxes<ArgType: Into<bool>>(
self,
value: ArgType
) -> Self
pub fn use_image_if_no_bounding_boxes<ArgType: Into<bool>>( self, value: ArgType ) -> Self
Sets the use_image_if_no_bounding_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>>(
&self,
ctx: &'a Context,
image_size: &T0,
bounding_boxes: &T1,
min_object_covered: &T2
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, image_size: &T0, bounding_boxes: &T1, min_object_covered: &T2 ) -> Result<[TensorHandle<'a>; 3]>
Execute sample_distorted_bounding_box_v2.
Trait Implementations§
source§impl Clone for SampleDistortedBoundingBoxV2
impl Clone for SampleDistortedBoundingBoxV2
source§fn clone(&self) -> SampleDistortedBoundingBoxV2
fn clone(&self) -> SampleDistortedBoundingBoxV2
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 SampleDistortedBoundingBoxV2
impl Debug for SampleDistortedBoundingBoxV2
Auto Trait Implementations§
impl RefUnwindSafe for SampleDistortedBoundingBoxV2
impl Send for SampleDistortedBoundingBoxV2
impl Sync for SampleDistortedBoundingBoxV2
impl Unpin for SampleDistortedBoundingBoxV2
impl UnwindSafe for SampleDistortedBoundingBoxV2
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