pub struct StatelessSampleDistortedBoundingBox { /* private fields */ }
Expand description
Builder for the StatelessSampleDistortedBoundingBox
operation.
Implementations§
Source§impl StatelessSampleDistortedBoundingBox
impl StatelessSampleDistortedBoundingBox
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Default for StatelessSampleDistortedBoundingBox
impl Default for StatelessSampleDistortedBoundingBox
Source§fn default() -> StatelessSampleDistortedBoundingBox
fn default() -> StatelessSampleDistortedBoundingBox
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatelessSampleDistortedBoundingBox
impl RefUnwindSafe for StatelessSampleDistortedBoundingBox
impl Send for StatelessSampleDistortedBoundingBox
impl Sync for StatelessSampleDistortedBoundingBox
impl Unpin for StatelessSampleDistortedBoundingBox
impl UnwindSafe for StatelessSampleDistortedBoundingBox
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