Struct ai_dataloader::collate::NoOpCollate
source · pub struct NoOpCollate;Expand description
Simple Collate that doesn’t change the batch of samples.
Trait Implementations§
source§impl<T> Collate<T> for NoOpCollate
impl<T> Collate<T> for NoOpCollate
source§impl Debug for NoOpCollate
impl Debug for NoOpCollate
source§impl Default for NoOpCollate
impl Default for NoOpCollate
source§fn default() -> NoOpCollate
fn default() -> NoOpCollate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for NoOpCollate
impl Send for NoOpCollate
impl Sync for NoOpCollate
impl Unpin for NoOpCollate
impl UnwindSafe for NoOpCollate
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