pub enum AutoAugPolicy {
ImageNet,
Cifar10,
Custom(Vec<SubPolicy>),
}Expand description
Built-in AutoAugment dataset policies.
Variants§
ImageNet
The 25 sub-policies from the original ImageNet AutoAugment paper.
Cifar10
The 25 sub-policies from the original CIFAR-10 AutoAugment paper.
Custom(Vec<SubPolicy>)
User-defined collection of sub-policies.
Trait Implementations§
Source§impl Clone for AutoAugPolicy
impl Clone for AutoAugPolicy
Source§fn clone(&self) -> AutoAugPolicy
fn clone(&self) -> AutoAugPolicy
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 moreAuto Trait Implementations§
impl Freeze for AutoAugPolicy
impl RefUnwindSafe for AutoAugPolicy
impl Send for AutoAugPolicy
impl Sync for AutoAugPolicy
impl Unpin for AutoAugPolicy
impl UnsafeUnpin for AutoAugPolicy
impl UnwindSafe for AutoAugPolicy
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