Trait burn::data::dataloader::batcher::DynBatcher
pub trait DynBatcher<I, O>: Send + Batcher<I, O> {
// Required method
fn clone_dyn(&self) -> Box<dyn DynBatcher<I, O>>;
}
Expand description
Required Methods§
fn clone_dyn(&self) -> Box<dyn DynBatcher<I, O>>
fn clone_dyn(&self) -> Box<dyn DynBatcher<I, O>>
Clone the batcher and returns a new one.