pub enum AugmentationOp {
TemporalSubsample {
stride: usize,
},
Reverse,
}Expand description
Augmentation operators for embodied datasets.
Variants§
TemporalSubsample
Drop every Nth record to thin the episode.
Reverse
Reverse record order (for stress tests).
Trait Implementations§
Source§impl Clone for AugmentationOp
impl Clone for AugmentationOp
Source§fn clone(&self) -> AugmentationOp
fn clone(&self) -> AugmentationOp
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 AugmentationOp
impl Debug for AugmentationOp
Source§impl Hash for AugmentationOp
impl Hash for AugmentationOp
Source§impl PartialEq for AugmentationOp
impl PartialEq for AugmentationOp
Source§fn eq(&self, other: &AugmentationOp) -> bool
fn eq(&self, other: &AugmentationOp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AugmentationOp
impl Eq for AugmentationOp
impl StructuralPartialEq for AugmentationOp
Auto Trait Implementations§
impl Freeze for AugmentationOp
impl RefUnwindSafe for AugmentationOp
impl Send for AugmentationOp
impl Sync for AugmentationOp
impl Unpin for AugmentationOp
impl UnsafeUnpin for AugmentationOp
impl UnwindSafe for AugmentationOp
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