pub struct AutoAugmentConfig {
pub policy: AutoAugPolicy,
pub fill_value: f32,
}Expand description
Configuration for the AutoAugment policy (Cubuk et al., CVPR 2019).
Fields§
§policy: AutoAugPolicyWhich policy (set of sub-policies) to use.
fill_value: f32Fill value for geometric transforms.
Trait Implementations§
Source§impl Clone for AutoAugmentConfig
impl Clone for AutoAugmentConfig
Source§fn clone(&self) -> AutoAugmentConfig
fn clone(&self) -> AutoAugmentConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AutoAugmentConfig
impl Debug for AutoAugmentConfig
Auto Trait Implementations§
impl Freeze for AutoAugmentConfig
impl RefUnwindSafe for AutoAugmentConfig
impl Send for AutoAugmentConfig
impl Sync for AutoAugmentConfig
impl Unpin for AutoAugmentConfig
impl UnsafeUnpin for AutoAugmentConfig
impl UnwindSafe for AutoAugmentConfig
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