Trait burn::data::dataloader::batcher::Batcher
pub trait Batcher<I, O>: Send {
// Required method
fn batch(&self, items: Vec<I>) -> O;
}
Expand description
A trait for batching items of type I
into items of type O
.